On 12/9/09 11:45 PM, Faisal Moledina wrote:
> On Thu, Dec 3, 2009 at 10:57 AM, Laurent Gautier<lgaut...@gmail.com>  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() method, but the one generated by the imported
> ggplot2 function does not have one (I suppose because the R package
> ggplot2 doesn't have that function).

That's right; the custom class-and-function mapping in 
rpy2.robjects.lib.ggplot2 exists to make it easier on a python 
standpoint. 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 release 2.2)

> In R, I would just type 'pp' at
> the prompt to show the plot. Is it that simple in rpy2?

Just calling a symbol in the R console will trigger it's console display
(that is call the print method). This is basically what the method plot 
is doing.



L.


> Faisal
>
>>
>> L.


------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to