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.
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
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.
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