On 09/03/11 13:19, Moritz Beber wrote: > Hi all, > > I'm running rpy2 version 2.2.0dev and I had some problems with setting > my background to a blank theme. calling ggplot2.theme_blank() gives me > the following error: > > Traceback (most recent call last): > File "<pyshell#8>", line 1, in<module> > plots.ggplot2.theme_blank() > File > "/usr/local/lib/python2.6/dist-packages/rpy2/robjects/lib/ggplot2.py", > line 590, in new > res = cls(cls._constructor()) > File > "/usr/local/lib/python2.6/dist-packages/rpy2/robjects/vectors.py", line > 186, in __init__ > super(Vector, self).__init__(o) > ValueError: Invalid sexpvector. > > And the construction of ggplot2.ThemeBlank requires an extra argument > and I don't know what type it should be.
That was a bug. Thanks for reporting it. It is now fixed in commit 1500:97d788ba27f8 L. > Looking forward to your help, > Moritz > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > rpy-list mailing list > rpy-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/rpy-list ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list