Run R code in Python
Sunday, August 22nd, 2010There is Rpy. The only reason why we prefer to run R by calling it as a separate process is for increased reliability. ?Download runrcode.py""" file runcode.py author Ernesto P. Adorio ernesto.adorio@gmail.com version 0.0.1 August 22, 2010 """ import tempfile,os, commands def runRcode(code, tempdir= "./"): # Write to temporary file. (f, name) [...]







