Re: [R] Set without argument

From: Christophe Genolini <cgenolin_at_u-paris10.fr>
Date: Sat, 23 Feb 2008 15:28:23 +0100

Thanks a lot
> The 'usual' way to write the above code is
>
>
>> a <- imputeMyObj(a)
>>
:-(
I was hopping something like the use of the superassignator <<- inside imputeMyObj (I was hoping even if I did not find it myself)... To bad.

But thanks for teaching me 'usual' pratice. It is something that is not so easy to find in toturial, and as medium level programmer, it is not always clear to pick the good way when we hesitate between two...

Christophe



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Sat 23 Feb 2008 - 14:35:44 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 23 Feb 2008 - 15:30:16 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive