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 -- View this message in context: http://n4.nabble.com/I-can-t-run-the-example-shown-in-the-inline-package-tp1774328p1819298.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.