On 05/04/11 12:24, Luca Beltrame wrote:
> In data martedì 5 aprile 2011 12:11:09, Moritz Beber ha scritto:
>
>> I'm almost convinced there must be a better way but I haven't found one yet.
>
> According to what I found in the documentation, it is possible in rpy 2.2 but
> not in 2.1.x. Laurent, am I correct?
>

rpy2-2.2.x is believed to be more convenient to use. I can only 
encourage to already use it instead of 2.1.9.

This should work with it:
mydataf.rx2[["Column"]] = some_vector

[note: the delegator rx2 has both methods __getitem__ and __call__. 
Hopefully I'll have the time to expand the documentation at
http://rpy.sourceforge.net/rpy2/doc-2.2/html/vector.html#assigning-r-style 
before the release]


>
>
> ------------------------------------------------------------------------------
> Xperia(TM) PLAY
> It's a major breakthrough. An authentic gaming
> smartphone on the nation's most reliable network.
> And it wants your games.
> http://p.sf.net/sfu/verizon-sfdev
>
>
>
> _______________________________________________
> rpy-list mailing list
> rpy-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rpy-list


------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to