Skip to content
Prev 199190 / 398503 Next

How to see any R package code?

Zhijiang Wang wrote:
Hi Zhijiang,

When you want to look at the code of a particular function, pass the 
command without the brackets, e.g. for lm:

 > lm

Alternatively, you can download the source package and go to the 
subdirectory R/. All the R code is located there.

cheers,
Paul