Skip to content
Prev 33147 / 63424 Next

beginner's guide to C++ programming with R packages?

An other possibility is to insert new features in your package once you
feel pretty confident with your new code. "R CMD SHLIB myfile.c" will
build the SHared LIBrary and then load it in R by invoking
"dyn.load("myfile.so")" in an R console.

Once you're satisfied with your code, just do as you did before - R CMD
build mypkg".

Cheers,
Mathieu

Le lundi 29 juin 2009 ? 11:49 +0200, Douglas Bates a ?crit :