[Rcpp-devel] Question for the Rcpp

Steve Lianoglou mailinglist.honeypot at gmail.com
Fri Aug 5 01:18:56 CEST 2011


Hi,

On Thu, Aug 4, 2011 at 4:00 PM, Yi Zhao <zhaoyitj2010 at gmail.com> wrote:
> Dear,
>
> I have written a package with Rcpp. Now I need to test how fast is the
> function that I 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 also is there any instruction to write a help file for R function?

you might consider using roxygen (or the upcoming roxygen2) for R docs.

http://roxygen.org/
https://github.com/klutometis/roxygen

-steve

-- 
Steve Lianoglou
Graduate Student: Computational Systems Biology
 | Memorial Sloan-Kettering Cancer Center
 | Weill Medical College of Cornell University
Contact Info: http://cbio.mskcc.org/~lianos/contact


More information about the Rcpp-devel mailing list