Re: [Rcpp-devel] Question for the Rcpp

2011-08-04 Thread Dirk Eddelbuettel
On 4 August 2011 at 19:18, Steve Lianoglou wrote: | On Thu, Aug 4, 2011 at 4:00 PM, Yi Zhao 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/rben

Re: [Rcpp-devel] Question for the Rcpp

2011-08-04 Thread Steve Lianoglou
Hi, On Thu, Aug 4, 2011 at 4:00 PM, Yi Zhao 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 i

Re: [Rcpp-devel] Question for the Rcpp

2011-08-04 Thread Douglas Bates
On Thu, Aug 4, 2011 at 10:00 PM, Yi Zhao 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? The basic function to time the evaluation of an fu

[Rcpp-devel] Question for the Rcpp

2011-08-04 Thread Yi Zhao
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? And also is there any instruction to write a help file for R function? Thanks for your help! Yi Zhao