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

Reply via email to