​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

Reply via email to