[Rpy] Rpy2 and automatic conversion of numpy arrays

2010-04-21 Thread Christian Marquardt
Hi, once more my apologies if I'm missing the obvious... The rpy2 documentation at http://rpy.sourceforge.net/rpy2/doc-2.1/html/numpy.html#high-level-interface states that the import of the numpy2ri module "alone is sufficient to switch an automatic conversion of numpy objects into rpy2 objects."

Re: [Rpy] Bug:Couldn't obtain version number from output of `R --version'

2010-04-21 Thread Peter
On Wed, Apr 21, 2010 at 3:49 AM, Diana Amiel wrote: > > Dear who may concern >  I install R2.10.1-win32,python2.6,pywin2.6.Numpy 2.6 and Rpy2-2.0.8 > in my computer.After I set the path, and from pry import *, I met the > Bug"Couldn't obtain version number from output of > `R --version'. Does anyo

[Rpy] ggplot a dataframe made in python?

2010-04-21 Thread Peter Sudmant
I'm having problems with using ggplot with rpy2 for dataframes I construct in python. For dataframes that I import it's no problem. For example, if I run this example from the website, it works no problem: datasets = importr('datasets') mtcars = datasets.mtcars gp = ggplot2.ggplot(mtcars) pp