Skip to content

Instantly share code, notes, and snippets.

@brendano
Created February 3, 2012 21:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brendano/1732879 to your computer and use it in GitHub Desktop.
Save brendano/1732879 to your computer and use it in GitHub Desktop.
How to install RPy (the original version, not RPy2, which is hard to use)
"pip" is from: http://packages.python.org/distribute/
$ pip install https://rpy.svn.sourceforge.net/svnroot/rpy/trunk/rpy/
$ python
>>> import rpy
>>> rpy.r.rnorm(10)
[-0.13543865314803508, 1.4040046442151894, -0.7555979642938236, -0.5311732761616562, 0.9271128349911155, -1.4425396174821694, -1.136552652395736, 0.4320017586687098, 0.4661676224124814, -1.0162902394860223]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment