Arr Py

last modified: January 16, 2011

RPy is one of a number of programming tools available for communication between R(ArrLanguage) and PythonLanguage.

See http://rpy.sourceforge.net/ which describes two flavours - rpy and rpy2.


Example using rpy2

import rpy2.robjects as robjects
pi = robjects.r('pi')
print 'pi = ',pi[0]

CategoryPython CategorySoftwareTool


Loading...