On 5 October 2012 at 13:09, Peter deVoil wrote: | I'm not sure whether it's appropriate, but with Rtools 2.15 and R 2.15.1 | under windows, I had to kick off my package with | ... | R = new RInside(argc, argv, true); | R->parseEval("library(\"methods\")"); | (*R)["xyz"] = LOAD_RCPP_MODULE(xyz) ; | ...
Could well be. I haven't played with Rcpp Modules on Windows -- modules do need the methods package. But we don't load the methods package because, well, littler doesn't, and this code inherited from littler. We could change that. [ Goes checking -- we no longer seem to do that. ] | Didnt have time to investigate further, sorry A complete example would help. I could test on Linux and then on Windows. Based on a quick and casual look, methods is now loaded. I think. All very odd as you also force loading of Rcpp which would bring it in too: $ r -e 'library(Rcpp); print(search())' [1] ".GlobalEnv" "package:Rcpp" "package:methods" "Autoloads" [5] "package:base" $ Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel