[R] I can´t run the example shown in the inline package

satu satu2021 at live.com.ar
Fri Apr 9 17:43:20 CEST 2010

Dear Romain, you are right. Apologies, here is the complete result from your

> code <- '#include <Rdefines.h>\nSEXP f(){\n return R_NilValue ; }'
> writeLines( code, "test.c" ) 
>  system( "R CMD SHLIB test.c" ) 
gcc -I"C:/R/R-210~1.1/include"        -O3 -Wall  -std=gnu99 -c test.c -o
gcc -shared -s -o test.dll tmp.def test.o -LC:/R/R-210~1.1/bin -lR
> 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
  LoadLibrary failure:  No se puede encontrar el módulo especificado. >
.Call( "f" ) 
Error in .Call("f") : C symbol name "f" not in load table

The system(,,,) bit seems to work, but then errors show up

View this message in context: http://n4.nabble.com/I-can-t-run-the-example-shown-in-the-inline-package-tp1774328p1819514.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list