[R] R and Python

stephenb stenka1 at go.com
Wed Nov 4 17:28:58 CET 2009


Not only RSPython does not support Windows, but it won't compile on most Unix
platforms and fixing it may be more time than writing a package on your own.

Like the other post, I use Python for pre-processing and then load into R.
If you need text processing with line by line access you can also use Java,
which will communicate to R.

cheers
Stephen


Ryan Sheftel-2 wrote:
> 
> I am a long time user of R for financial time series analysis (xts, zoo,
> etc) and for my next project I am thinking of adding the Python language
> to
> the mix. The reason for adding Python is primarily its non-statistical
> capabilities.
> 
> So my questions are what have people's experiences been with using interop
> between R and Python. I see there are two items, rPy and RSPython. It
> looks
> like rPy makes it possible to call R code from Python, and RSPython goes
> both ways. My needs would be to use Python to drive R to get it's
> extensive
> time series and stats, and also to get to Python objects from inside R.
> 
> I searched the list archives and it looks like many people use rPy, but
> what
> about RSPython for calling Python from R? It looks like rPy only goes from
> R
> into Python, and RSPython has not been updated since 2005?
> 
> Other messages in the archives state that RSPython only works on Unix?
> 
> Would I be foolish to build anything mission critical on RSPython? Is
> there
> a better way to get at Python from R?
> 
> Thanks as always.
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> 
> 

-- 
View this message in context: http://old.nabble.com/R-and-Python-tp26166781p26199643.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list