Hi, Please consider the following:
from rpy2 import robjects as ro df = ro.DataFrame({'a': ro.FloatVector((5,2,3)), 'b': ro.StrVector(['x1-','y2-','z3-'])}) v = ((r.rx2('a')[0], r.rx2('b')[0]) for r in df.iter_row()) print(list(v)) The result is [(5.0, 1), (2.0, 1), (3.0, 1)] The expected is [(5.0, 'x1-'), (2.0, 'y2-'), (3.0, 'z3-')] Is this a bug or do I miss something? Best regards, Artur ------------------------------------------------------------------------------ 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