search for: selma_extensions

Displaying 1 result from an estimated 1 matches for "selma_extensions".

2007 Sep 20
1
SHLIB problem under Vista
Hi all, I'd like to distribute an R package that compiles some (small) C functions every time it's sourced. The relevant code in the top level R script is as follows: system("R CMD SHLIB Selma_extensions.c") if (.Platform$OS.type=="windows") { slash = '\\' dyn.load("Selma_extensions.dll") } if (.Platform$OS.type=="unix") { slash = '/' dyn.load("Selma_extensions.so") } This works fine on a Mac, but I tried it under Window...