Skip to content

Where to find the base R source code

December 17, 2012

I recently wanted to figure out what the solve function in base R does. But the main meat of the function is buried in C and Fortran code. No problem…all of this stuff is conveniently available here:

If you have a github account, this command from a terminal will get you a copy of the R source code on your machine:

git clone

This can take a while, but the nice thing is that once you have it you don’t need to be connected to the internet.

One Comment leave one →
  1. January 3, 2013 1:36 am

    Winston Chang also has one — it’s mirrored daily (I think) — at `` . You can also do it via SVN from (something like `svn checkout …`

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: