Now I understand, Laurent, thank you. I was using plot() in the 2.2.5
version and the import of ggplot2 was not working, so I changed it and
made it even worse. Going back to the ggplot2 import, it now works
with 2.2.6, as expected.
Thank you.
Roger
On Mon, Jul 9, 2012 at 3:29 PM, Laurent Gautie
On Tue, Jun 26, 2012 at 9:51 PM, Robert Chase
wrote:
> Hello,
>
> An old version of some software needs rpy to function. We tried using
> rpy2.classic_rpy and it didn't work. I'm getting the following error message
> when I try to install rpy.
>
>> ls
>
> ChangeLog examplesMANIFEST.in RE
I am reading your code snippet, and that will not work.
The convenience method "plot" is part of a custom wrapping of ggplot2.
http://rpy.sourceforge.net/rpy2/doc-dev/html/graphics.html?highlight=ggplot2#rpy2.robjects.lib.ggplot2
Using importr() means that you will use the ggplot2 library are
r
I've tried with both 2.2.5 and 2.2.6 and I get the same error
Roger
On Mon, Jul 9, 2012 at 2:58 PM, Laurent Gautier wrote:
> Hi Roger,
>
> rpy2-2.2.6 fixed issues related to using the latest release of ggplot2.
> Is this the version you are using ?
>
>
> Best,
>
> Laurent
>
>
>
> On 2012-07-09 1
Hi Roger,
rpy2-2.2.6 fixed issues related to using the latest release of ggplot2.
Is this the version you are using ?
Best,
Laurent
On 2012-07-09 14:51, Roger Guimera wrote:
> Hi,
>
> I am trying to use rpy2 to generate ggplot2 graphs, but I encounter
> the same problem with all the examples
Hi,
I am trying to use rpy2 to generate ggplot2 graphs, but I encounter
the same problem with all the examples in
http://rpy.sourceforge.net/rpy2/doc-2.2/html/graphics.html#package-ggplot2
. For example, if I try to run this example:
from rpy2.robjects.packages import importr
datasets = importr("