On Sat, Mar 19, 2011 at 6:34 PM, Russ Abbott <russ.abb...@gmail.com> wrote: > Is it possible to refer to an object from within a method, as in *this *in > Java? I can't find anything about this in the documentation. Sorry if I > missed it. >
Assuming you are referring to S3, the first argument to a method is the object (unless specified otherwise in the UseMethod call but that is rarely done). -- Statistics & Software Consulting GKX Group, GKX Associates Inc. tel: 1-877-GKX-GROUP email: ggrothendieck at gmail.com ______________________________________________ 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.