Embarrassingly basic question.
When wanting to understand R’s source code I will often just write its name in R and read through the code. The downside of this method is that I will get the code with its comment stripped away.
Assuming I use git, and not subversion, what simple solutions do I have to view the source code?
For example, can I download the R’s source code through git? (as in with github)
Is there some website with all of the code easily searchable?
Thanks.
To download the current R-development svn using git-svn (you might need to install git-svn in addition to git):
To browse R-project source code online, just visit the same site:
Or, for the other branches:
To search for, say,
glm()related code in the R-development source code, I usually try a Google search: