Hi, I have a quick couple of questions about some of the documentation on the web page: http://cran.r-project.org/doc/manuals/R-exts.html#Linking-GUIs-and-other-fro nt_002dends-to-R under the heading: 5.6 Interfacing C++ code
Question 1: If I¹m at a terminal, I can type the instructions they suggest: R CMD SHLIB X.cc X_main.cc If I wanted a package to do this, how would I tell the package to do that same thing? Would I use the same command and just include it in a file somewhere in the package? If so, which file? Question 2: dyn.load(paste("X", .Platform$dynlib.ext, sep = "")) Where does .Platform$dynlib.ext come from? What does it mean? What do it¹s components .Platform and $dynlib and .ext mean? Thanks, Sean
_______________________________________________ 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