Hi Dirk,

The problem has been fixed. Many thanks.

Best regards,

Binbin


2014-03-13 14:58 GMT+00:00 Dirk Eddelbuettel <e...@debian.org>:

>
> Binbin,
>
> On 13 March 2014 at 14:24, binbin lu wrote:
> | I am trying to compile a package, in which C code is used.
> |
> | When I was checking the package with the dll file under the sub-folder
> | "SRC", a WARNING msg was returned:
> | "Source packages should not contain undeclared executable files."
> |
> | When I exclued it from the folder, I got an ERROR msg:
> |
> | Error in library.dynam(lib, package, package.lib) :
> |   DLL 'Cs2g' not found: maybe not installed for this architecture?
> |
> |
> | Anyone knows how to solve this problem? Sorry for this naive question
> but I
> | am really confused. Many thanks.
>
> I see two cases here:
>
> Case 1:  You intend to upload this package to CRAN
>
>          --> Don't include the dll in the first place. See 'Writing R
>              Extensions' for details.
>
> Case 2:  You only plan to do use this locally.
>
>          --> Learn more about package builds. See 'Writing R Extensions'
> for
>              details, as well as 'R CMD INSTALL --help' and pay attention
> to
>              single architecture builds.
>
>              The Visual Studio tool chain is not officially supported by R,
>              so you are unlikely to get specific help. You mix this, but it
>              is an advanced topic, and it is somewhat outside the supported
>              range of endeavours with R, you are on your own.
>
>              Google for 'mixing MinGW gcc and Visual Studio' and other
> topics.
>
> Good luck,  Dirk
>
> --
> Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com
>

        [[alternative HTML version deleted]]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to