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