[R] How to write efficient R code

Remington, Richard rnews at kernstat.com
Tue Feb 17 23:03:44 CET 2004


Lennart.Borgman at astrazeneca.com wrote:

> I have been lurking in this list a while and searching in the archives to
> find out how one learns to write fast R code. One solution seems to be to
> write part of the code not in R but in C. However after finding a benchmark
> article (http://www.sciviews.org/other/benchmark.htm) I have been more
> interested in making the R code itself more efficient. I would like to find
> more info about this. I have tried to mail the contact person for the
> benchmark, but I have so recieved no reply.
> 
> I am not an R programmer (or statistican) so I do not know R well. I am
> looking for some advice about writing fast R code. What about the different
> data types for example? Is there some good place to start to look for more
> info about this? 
> 
> 
> Thanks for any pointers
> Lennart
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
> 

Lennart

To learn about "data types" take a look at the early chapters of An 
Introduction To R available at

http://cran.r-project.org/manuals.html

Richard
-- 

Richard E. Remington III
Statistician
KERN Statistical Services, Inc.
PO Box 1046
Boise, ID 83701
Tel: 208.426.0113
KernStat.com




More information about the R-help mailing list