Re: [Rpy] More questions: attrs() and *apply functions

2010-01-19 Thread Luca Beltrame
In data martedì 19 gennaio 2010 17:35:04, Laurent Gautier ha scritto: > The method "do_slots_assign" should able to set attributes. All right, thanks for confirming. > Here "better" is context-dependent, I suppose. Indeed. I used "apply" in the example because it's part of the base R, but I wa

Re: [Rpy] More questions: attrs() and *apply functions

2010-01-19 Thread Laurent Gautier
On 1/19/10 12:46 PM, Luca Beltrame wrote: > Hello again, > > the porting of the code is getting along nicely (thanks to the help in this > ML), and I've got more questions on the way. > > In particular, how is the case of attrs(object, value) handled? In Python a > function can't be an expression,

[Rpy] More questions: attrs() and *apply functions

2010-01-19 Thread Luca Beltrame
Hello again, the porting of the code is getting along nicely (thanks to the help in this ML), and I've got more questions on the way. In particular, how is the case of attrs(object, value) handled? In Python a function can't be an expression, so this can pose an issue when porting code that us