[Rcpp-devel] Package Rcpp: Question conerning source code of cpp files and related question

Jonathan Olmsted jpolmsted at gmail.com
Tue Sep 30 16:55:30 CEST 2014


​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 at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
>



-- 

J.P. Olmsted
j.p.olmsted at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20140930/1261f572/attachment.html>


More information about the Rcpp-devel mailing list