Re: [R] Okay, here is what I am doing

2010-04-09 Thread satu
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),

[R] Okay, here is what I am doing

2010-04-08 Thread satu
All is done in R 2.10.1 wiht the package inline version 0.3.4,,, this are the packages that I have loaded into the workspace search() [1] .GlobalEnvpackage:inlinepackage:stats package:graphics package:grDevices package:datasets package:rcom [8] package:rscproxy

Re: [R] Okay, here is what I am doing

2010-04-08 Thread Romain Francois
Do you have the tools ? What operating system are you using ? What happens if you do this: code - '#include Rdefines.h\nSEXP f(){\n return R_NilValue ; }' writeLines( code, test.c ) system( R CMD SHLIB test.c ) dyn.load( test.so ) .Call( f ) Romain Le 08/04/10 20:28, satu a écrit :