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("datasets") r_ggplot2 = importr("ggplot2") p = r_ggplot2.qplot('mpg', 'wt', data = datasets.mtcars) p.plot() I get the following error: Traceback (most recent call last): File "test.py", line 5, in <module> p.plot() AttributeError: 'ListVector' object has no attribute 'plot' I am using R 2.15.1, Python 2.7.3 and ggplot2 0.9.1. Does anyone have any idea what's going on? Thanks in advance. Roger ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list