Note that you can call Rcpp::sourceCpp directly from within any IDE. You can't just do a an R CMD SHLIB on the file though as there is _lots_ of work done by sourceCpp to ensure that the build environment is configured correctly.
On Tue, Sep 30, 2014 at 10:55 AM, Jonathan Olmsted <jpolms...@gmail.com> wrote: > Hi, Martin. > >> >> 1) Is there a way to see the source file of the "final" cpp-file? (I mean >> is it possible to see how the //-lines are replaced and what soureCpp does?) > > > The code generation that happens behind the scenes can be made explicit with > > sourceCpp(file = "crossp.cpp", verbose = TRUE) > > HTH, > Jonathan > > > > > >> >> >> >> -- >> ******************************************************** >> Dr. Martin Spindler >> Senior Researcher >> Max Planck Society >> Munich Center for the Economics of Aging >> Amalienstr. 33 >> 80799 Munich >> Germany >> >> >> _______________________________________________ >> 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 > > > > > -- > > J.P. Olmsted > j.p.olms...@gmail.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 _______________________________________________ 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