On 2013-03-13 17:50, Wush Wu wrote:
> Hi all,
>
> Recently I need to do some job in R and python simultaneously.
>
> Since I am a R, Rcpp user and new to python, so I prefer to embed
> python into R. Unfortunately, RSPython does not work for me.
As far as I know RSPython stopped working some time ago,
largely because R and Python have changed.
Rpy2 is building on rpy, that itself was building on RSPython.

> In ubuntu, I have some linking issue and resolve them according to
> http://stackoverflow.com/questions/15162685/lookuperror-unknown-encoding-big5-under-embeded-python

  This might be safe for the majority of people (Big5 is not used / 
needed by everyone).

> A toy result is underhttps://github.com/wush978/Rython

Looking good.
The mapping Python classes and methods in R-ish representation will come 
next, I guess.

> I just wondering if you will develop an embedded python in R or not?


There is a way to call Python from R, although it requires going to 
Python first:
http://rpy.sourceforge.net/rpy2/doc-2.3/html/rinterface.html#calling-python-functions-from-r

I have hope to make the R->Python link in the future. This is going with 
the plan of having a more neutral C library that'd would be shared by 
interfaces to CPython, Pypy, Julia, etc... The "one common library" 
would help make this robust when going across languages (for example, 
language X calling R that is calling language X back).

Having that said, I am quite happy if someone is already working on it 
(it could make the ensemble progress faster).

Best,

Laurent

> Regards,
>
> Wush
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_mar
> _______________________________________________
> rpy-list mailing list
> rpy-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rpy-list


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to