Hi,

On Thu, Aug 4, 2011 at 4:00 PM, Yi Zhao <[email protected]> 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
_______________________________________________
Rcpp-devel mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to