On 1/19/11 3:33 AM, Peter Tittmann wrote: > Greetings again, > > i had written a script to use the aes_string method in ggplot2 with > rpy2 which worked fin in a previous version. however, the current hg > version ('2.1.0dev') throws the following error when aes_string is > called as described in the documentation > (http://rpy.sourceforge.net/rpy2/doc-2.2/html/graphics.html#package-ggplot2) > : > > In [15]: pp = gp + \ > ....: ggplot2.aes_string(x='wt', y='mpg') + \ > ....: ggplot2.geom_point() > ------------------------------------------------------------ > Traceback (most recent call last): > File "<ipython console>", line 2, in<module> > AttributeError: 'module' object has no attribute 'aes_string' > > any ideas?
The documentation you are referring to corresponds to a different version of rpy2. Moreover, rpy2-2.1.0dev corresponds to a development snapshot from somewhere in the past. The current release is 2.1.9, current development is 2.2.0alphax L. > > Thanks, > > Peter > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > rpy-list mailing list > rpy-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/rpy-list ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list