[Rcpp-devel] Regarding question on a suitable IDE for C++ project using Rcpp in Window (7) OS

2013-01-10 Thread Lincoln Xu
Hi, Rcpp experts, While I am very impressed by the power of Rcpp described by a nice introduction in your website. It seems to me that it is not easy to set up an IDE for developing C++ using Rcpp in window. As stated in FAQ, there is NOT A CHANGE to use VS with Rcpp and R. I wonder if you could k

[Rcpp-devel] [ANN] Rcpp Gallery

2013-01-10 Thread JJ Allaire
*Hello everyone, We are excited to introduce a new website featuring Rcpp which we are calling the ‘Rcpp Gallery’. It is a collection of articles and code examples illustrating techniques for programming with Rcpp---and it is aiming for contributions by Rcpp users like you. Here is a link to the s

[Rcpp-devel] Google perftools profiler works best, AFAICT

2013-01-10 Thread Paul Johnson
Here's the writeup with examples on the Google profiler tool as applied to an R package that uses RcppArmadillo. http://pj.freefaculty.org/blog/?p=140 "R package profiling with Google Preftools" I had forgotten until yesterday, but Dirk E. advised me in 2009 to try this out. After having invest

[Rcpp-devel] receiving R matrices: question about RcppArmadillo example fastlm

2013-01-10 Thread Paul Johnson
Hello, Rcpp land. I'm still collecting idioms and examples for the usage of Rcpp. Today I'm looking at ways that people manage the importation of R matrices. Consider fasLm.r file in the RcppArmadillo package's examples folder. It uses this this three-step process to bring in a matrix from R. Thi

Re: [Rcpp-devel] Regarding question on a suitable IDE for C++ project using Rcpp in Window (7) OS

2013-01-10 Thread Kevin Ushey
Hi Lincoln, FWIW, I had some success setting up Eclipse for using Rcpp. If you set up include paths to the Rcpp/include and R/include directories, Eclipse will be able to provide code assistance. (I tried to get a similar thing working with Netbeans, but it seemed to randomly choke on trying to pr

[Rcpp-devel] Rcpp-devel mailing list outage / delay

2013-01-10 Thread Dirk Eddelbuettel
All, >From what I can tell, the list went down on Sunday. There were issues with abuse on another R-Forge list which has since been closed. For "our" traffic, I can see only what the list archive http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2013-January/thread.html has and com

Re: [Rcpp-devel] receiving R matrices: question about RcppArmadillo example fastlm

2013-01-10 Thread Douglas Bates
The important question is whether the as copies the contents of the matrix from the SEXP passed by R. Creating an Rcpp::NumericMatrix does not copy the contents and converting the NumericMatrix to an arma::mat with that trailing 'false' also just copies the pointer to the contents, not the content

Re: [Rcpp-devel] Regarding question on a suitable IDE for C++ project using Rcpp in Window (7) OS

2013-01-10 Thread Douglas Bates
The inability to use Visual Studio for compiling code to use with R is not peculiar to Rcpp. The Windows version of R is compiled with mingw compilers and requires compatible compilers for other code. Remember that R is an Open Source project and Visual Studio isn't. As far as an IDE goes, RStud