search for: rdevelhelp

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

2011 Sep 09
1
Saving Rcpp Objects for Future Use
Hello, I have recently been doing some research regarding how to successfully save and load Rcpp Objects ( objects from modules ) for future use, but with little success. For example, to use the example package (from package skeleton) in Rcpp: >library(Rcpp) >Rcpp.package.skeleton("rdevelhelp", module=TRUE) ... > q() // install rdevelhelp using R CMD INSTALL // load new R Session >library(rdevelhelp) >x <- new(World) >x$set("help me") >x$greet() "help me" >save(x, "x.RData") >q() // reload R >library(rdevelhelp) >load(&q...