-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
rpy2 / R interface (v0.16.0) #10062
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
See #9602. I think you can start with this: http://stackoverflow.com/questions/20630121/pandas-how-to-convert-r-dataframe-back-to-pandas |
closing in favor of #9602 |
@borisRa Here is a notebook exploring some things: http://nbviewer.ipython.org/gist/jorisvandenbossche/d0deaa53ace697e1514e Basically:
Does this work for you? |
Thanks ! that is exactly what I looked for ! |
And what are the alternatives for : import pandas.rpy.common as com Thanks, |
For the data, does this work?
|
And for the matrix, this is actually just using |
Everything works as a charm ! |
Hi,
Using the last pandas version, the command : "import pandas.rpy.common as com"
produces the following warning :
"The pandas.rpy module is deprecated and will be removed in a future version. We refer to external packages like rpy2, found here: http://rpy.sourceforge.net "like rpy2, found here: ttp://rpy.sourceforge.net", FutureWarning) "
I use the following functionality heavily :
com.convert_to_r_dataframe(pandas_DF)
com.convert_robj(results_from_R)
How with rpy2 I can do the same ?
Regards,
Boris
The text was updated successfully, but these errors were encountered: