Re: [Rpy] multiple data frames in ggplot2

2009-12-16 Thread Faisal Moledina
> Can't guess without knowing the exact code (otherwise I would be in the > paranormal, investment, or gambling business, I suppose) but this is this > the kind of error you get in R when calling print.gglot on a ggplot objects > (well, a proto object) that does not have defined layers. I've put a

Re: [Rpy] multiple data frames in ggplot2

2009-12-10 Thread Faisal Moledina
On Thu, Dec 10, 2009 at 2:13 AM, Laurent Gautier wrote: > > Can you report in the bitbucket issue tracker what is that > is missing from rpy2.robjects.lib.ggplot2 so it can be added ? > > (note: the mapping is hopefully moving towards a more dynamic generation, > although that's probably for relea

[Rpy] OS X and Quartz window

2009-12-09 Thread Faisal Moledina
Hey all, There was a thread a few weeks back (before I subscribed to the list) about using rpy2 with Quartz on OS X. The last email in the thread was from Laurent and read "…to demonstrate by the example I just opened a quartz interactive device, and made plots in it, with the following install:

Re: [Rpy] multiple data frames in ggplot2

2009-12-09 Thread Faisal Moledina
On Thu, Dec 3, 2009 at 10:57 AM, Laurent Gautier wrote: > > Please continue reporting what does work like it seems it should along the > way. > This may sound ridiculous, but I'm not sure how to display the plot anymore. The ggplot stored in 'pp' generated by the static ggplot2 library had a plot

Re: [Rpy] multiple data frames in ggplot2

2009-12-01 Thread Faisal Moledina
On Tue, Dec 1, 2009 at 5:34 PM, Laurent Gautier wrote: > This is an involuntary omission. > > The rpy2.robjects.lib.ggplot2 module started out as a way to show how to map > Python classes onto R classes manually (not matter what flavour of R OOP is > used). > (I have updated the documentation rece

Re: [Rpy] multiple data frames in ggplot2

2009-11-30 Thread Faisal Moledina
On Mon, Nov 30, 2009 at 4:26 PM, Laurent Gautier wrote: >> Next problem: Because I included the option y='..density..' in my >> histogram aes, my plot now has ..density.. as its x label. This >> doesn't happen in R. I thought I could rectify this by adding the line >> pp=pp+ggplot2.opts(xlab="z"),

Re: [Rpy] multiple data frames in ggplot2

2009-11-29 Thread Faisal Moledina
Laurent, On Sun, Nov 29, 2009 at 4:13 AM, Laurent Gautier wrote: > > That's more an issue with ggplot2 than with rpy2. > What I meant earlier is the following: > > pp += ggplot2.geom_line(ggplot2.aes_string(x='z',y='dens'), >                        data=datafline) > > > It is working here (rpy2-2

Re: [Rpy] multiple data frames in ggplot2

2009-11-28 Thread Faisal Moledina
hout the complete Python traceback or a standalone example (off-list, if > you are more comfortable to do so because of the data), it might be hard to > tell more. > > > L. > > > > > Faisal Moledina wrote: >> >> Hello everyone, >> >> I'm trying to port the

[Rpy] multiple data frames in ggplot2

2009-11-26 Thread Faisal Moledina
ine() to use the zfunc data frame: pp=pp+ggplot2.geom_line(zfunc,ggplot2.aes_string(x='z',y='dens')) I get Error: ggplot2 doesn't know how to deal with data of class uneval I'm using rpy2 2.1.0dev. H