in page http://rpy.sourceforge.net/rpy2/doc-2.1/html/graphics.html#package-ggplot2

 od  =  rlc.OrdDict(c(('value',  robjects.IntVector((1,2,3))),
                       ('letter', robjects.StrVector(('x', 'y', 'z')))))


>>> od = rlc.OrdDict(c(('value', robjects.IntVector((1,2,3))),('letter', robjects.StrVector(('x', 'y', 'z')))))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'c' is not defined


correctly identified as:
>>> od = rlc.OrdDict([('value', robjects.IntVector((1,2,3))),('letter', robjects.StrVector(('x', 'y', 'z')))])
>>>

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to