Re: [Rd] Calling C++ from R

2011-01-21 Thread Douglas Bates
It is more effective to send such inquiries to the Rcpp-devel mailing list which I am cc'ing on this reply. On Thu, Jan 20, 2011 at 3:05 PM, mtck1982 wrote: > > Hi All, > > I am new to this area and use Rcpp to call C++ from R and try to build the > package under Windows 7. I use Rtools and R 2.1

[Rd] Calling C++ from R

2011-01-21 Thread mtck1982
Hi All, I am new to this area and use Rcpp to call C++ from R and try to build the package under Windows 7. I use Rtools and R 2.10.1 32bit. Everything works fine with me, except using R functions like "rnorm" or "runif" in the C++ code. When I use "R CMD check" the package, it always return erro