Re: [Rcpp-devel] Help using rcpp and Rmpi

2013-06-24 Thread Dirk Eddelbuettel
Hi Molly, Thanks for (re-)posting here. This is place for all things Rcpp. On 24 June 2013 at 15:33, Molly Davies wrote: | Hello, | I have just written my first R extension using Rcpp, and it is SO much faster | than my best R efforts, thank you for such a wonderful package! I used the | followi

[Rcpp-devel] Help using rcpp and Rmpi

2013-06-24 Thread Molly Davies
Hello, I have just written my first R extension using Rcpp, and it is SO much faster than my best R efforts, thank you for such a wonderful package! I used the following: ### begin R ### require(Rcpp) cppFunction(' double s2nICm(NumericVector ICvec, int m, double In, double sampleSize) { int n =