> If the above does not work, how do I access items in the returned list?

I frequently work like this:

an_r_list=robjects.r('list(one=1,two=2)')
list_names = [name for name in robjects.r.names(an_r_list)]
value, = an_r_list[list_names.index('one')]

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to