[Rcpp-devel] Question on 5.6 Interfacing C++ code
Sean Robert McGuffee
sean.mcguffee at gmail.com
Wed Apr 20 15:49:05 CEST 2011
Hi, I have a quick couple of questions about some of the documentation on
the web page:
under the heading:
5.6 Interfacing C++ code
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
Would I use the same command and just include it in a file somewhere in the
If so, which file?
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rcpp-devel