On 2/9/10 5:28 PM, Luca Beltrame wrote:
> In data martedì 09 febbraio 2010 15:19:32, John A Schroeder ha scritto:
>> If the above does not work, how do I access items in the returned list?
>
> IIRC you use the rx and rx2 accessors (not sure if they're already there in
> RPy2.0.x...). At least in 2.1.x I can do
>
> some_list.rx2("name") and get the actual value.
>
> .rx is equivalent to [value]
> .rx2 is equivalent to [[value]]

rx and rx2 are new in 2.1.0.

With 2.0.x, that's:

some_list.r["name"]

(if I remember right...)


L.



>
>
>
> ------------------------------------------------------------------------------
> 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


------------------------------------------------------------------------------
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