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

2014-09-30 Thread Martin Spindler
Dear all, I am trying to use Rcpp to write some files in C++ for use in R. Below is an example for a cpp-file (crossp.cpp). Then I use >sourceCpp("crossp.cpp") in R and the corresponding function is availabe in R. Now I have to question related to this worklfow: 1) Is there a way to see the sou

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

2014-09-30 Thread Jonathan Olmsted
​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)

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

2014-09-30 Thread Dirk Eddelbuettel
On 30 September 2014 at 10:55, Jonathan Olmsted 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

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

2014-09-30 Thread JJ Allaire
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 wrote: > Hi, Mar

Re: [Rcpp-devel] statement about rcpp11 ?

2014-09-30 Thread Jonathon Love
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 thanks for your response romain, > If you want to have a private conversation with Dirk, just email > him directly sure, but i expect i'm not the only one interested in his response. > Just use whatever version is best for your needs. sure, i ge

Re: [Rcpp-devel] statement about rcpp11 ?

2014-09-30 Thread Krzysztof Sakrejda
On Tue, Sep 30, 2014 at 1:43 PM, Jonathon Love wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > thanks for your response romain, > >> If you want to have a private conversation with Dirk, just email >> him directly > > sure, but i expect i'm not the only one interested in his respons

Re: [Rcpp-devel] statement about rcpp11 ?

2014-09-30 Thread Jonathon Love
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 >> That makes sense, but if you search the list archives (which is >> generally requested of folks writing to the list) you would >> notice some context which makes your original questions look a >> little bit like trolling---having seen previous ex