[R] how to study the code of R
Kjetil Brinchmann Halvorsen
kjetil at acelerate.com
Tue Oct 19 01:07:45 CEST 2004
>i want to study R programming by studying the existing code from R itself,but
>i don't know how to read the code,can any one give me some guide?
>my R is installed in /usr/lib/R/
One trick which can be usefull for a start is to use debug.
Choose some function to learn, say lm.
and ten use lm in a small example. You can go by the evaluation of the
code step by step,
it can be illuminating
>[ronggui at mylinux ronggui]$ /usr/lib/R/
>afm bin doc etc include library modules share
>system i586, linux-gnu
>R-help at stat.math.ethz.ch mailing list
>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Peace is the most effective weapon of mass construction.
-- Mahdi Elmandjra
More information about the R-help