[R] I can´t run the example shown in the inline package
Romain Francois
romain.francois at dbmail.com
Fri Apr 9 15:25:03 CEST 2010
What happened to the line that contained "R CMD SHLIB" ? This is the bit
that compiles the code.
On windows (you were asked to tell us that you are running windows, both
through the posting guide and from my previous email) you need to
install the same tools that one needs for building a package.
See http://cran.r-project.org/doc/manuals/R-admin.html#The-Windows-toolset
Romain
Le 09/04/10 15:11, satu a écrit :
>
> Dear Romain,
> I am working with a PC with Windows-XP
> I do have Rtools installed and running the code you propose, this is what I
> get as a result:
>
>> code<- '#include<Rdefines.h>\nSEXP f(){\n return R_NilValue ; }'
>> writeLines( code, "test.c" )
>> dyn.load( "test.so" )
> Error in inDL(x, as.logical(local), as.logical(now), ...) :
> unable to load shared library 'C:/Documents and Settings/L01359.BCRA/Mis
> documentos/R/test.so':
> LoadLibrary failure: No se puede encontrar el módulo especificado.
>
>> .Call( "f" )
> Error in .Call("f") : C symbol name "f" not in load table
>>
>
>
> Sergio
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://bit.ly/9aKDM9 : embed images in Rd documents
|- http://tr.im/OIXN : raster images and RImageJ
|- http://tr.im/OcQe : Rcpp 0.7.7
More information about the R-help
mailing list