Re: [Rpy] importing ggplot2

2010-02-18 Thread Sean Davis
On Thu, Feb 18, 2010 at 9:35 AM, zahra sheikhbahaee wrote: > Hi, > > I need to use ggplot2 package for plotting my results. I could use it when I > just work with R but when I import it in my python program, I  got this > message: import rpy2.robjects.lib.ggplot2 as ggplot2 > Loading required

[Rpy] importing ggplot2

2010-02-18 Thread zahra sheikhbahaee
Hi, I need to use ggplot2 package for plotting my results. I could use it when I just work with R but when I import it in my python program, I got this message: >>> import rpy2.robjects.lib.ggplot2 as ggplot2 Loading required package: ggplot2 Loading required package: proto Loading required packa

[Rpy] Subset behavior - rpy 2.1.x

2010-02-18 Thread Luca Beltrame
Hello, In my porting effort (using a frequently updated rpy2.1 copy from mercurial) I found myself in the necessity of subsetting values from a DataFrame. In R I would do this, for example subset(my_data_frame, Column_name > 0) however in Python keywords cannot be expressions. How would I ha