Skip to content

load into existing R session

mataddy edited this page May 19, 2014 · 3 revisions

handy code I always forget while debugging

system("R CMD SHLIB ~/packages/gamlr/src/*.c -o gamlr.so")
system("rm ~/packages/gamlr/src/*.o")
dyn.load("gamlr.so")
for(f in Sys.glob("~/packages/gamlr/R/*.R")) source(f)
Clone this wiki locally