On 09.04.2010 17:43, satu wrote:
Dear Romain, you are right. Apologies, here is the complete result from your
script:
code<- '#include\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=gnu
Dear Romain, you are right. Apologies, here is the complete result from your
script:
> code <- '#include \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
test.o
gcc -sh
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 packa
3 matches
Mail list logo