Re: [Rcpp-devel] Error in FUN("_rcpp_module_boot

2011-06-19 Thread andre zege
I reinstalled Rcpp, removed the package with R CMD REMOVE, run Rcpp.package.skeleton("cUtils" , module=T), changed the package to one line of C code, re-installed the package again with R CMD INSTALL, and checked it with R CMD check cUtils At this moment the following is in the package cUtils.

Re: [Rcpp-devel] Rcpp-devel Digest, Vol 20, Issue 34

2011-06-19 Thread andre zege
I reinstalled Rcpp, removed the package with R CMD REMOVE, run Rcpp.package.skeleton("cUtils", module=T), changed the package to one line of C code, re-installed the package again with R CMD INSTALL, and checked it with R CMD check cUtils At this moment the following is in the package cUtils.c

Re: [Rcpp-devel] Short blog post on loop speed in R

2011-06-19 Thread Dirk Eddelbuettel
On 19 June 2011 at 13:20, Douglas Bates wrote: | Interesting post, Christian. It turns out that the apply family can | get better performance than the explicit loop but, as you have seen, | no using aaply. The choices in this case are sapply or, slightly | faster, vapply from the base package.

Re: [Rcpp-devel] Short blog post on loop speed in R

2011-06-19 Thread Douglas Bates
Interesting post, Christian. It turns out that the apply family can get better performance than the explicit loop but, as you have seen, no using aaply. The choices in this case are sapply or, slightly faster, vapply from the base package. I also tried using cmpfun from the compiler package but