[Rcpp-devel] Question for the Rcpp

Dirk Eddelbuettel edd at debian.org
Fri Aug 5 02:09:10 CEST 2011


On 4 August 2011 at 19:18, Steve Lianoglou wrote:
| On Thu, Aug 4, 2011 at 4:00 PM, Yi Zhao <zhaoyitj2010 at gmail.com> wrote:
| > I am wondering to know is there any function or tools to show the time that
| > it cost?
| 
| Doug has already mentioned rbenchmark, which is handy:
| http://cran.r-project.org/web/packages/rbenchmark/index.html

And we almost constantly post examples using it here on the list so the list
archives should have plenty of working samples.
 
| > And also is there any instruction to write a help file for R function?

Besides the official manual ("Writing R Extensions") mentioned by Doug, there
are also 3000+ packages on CRAN you can study.  Pick one you know and like
and see how it does it. Read the Manual for background too.

Dirk

-- 
Gauss once played himself in a zero-sum game and won $50.
                      -- #11 at http://www.gaussfacts.com


More information about the Rcpp-devel mailing list