Re: [R] Make functions aware of theyr own slots.

2009-06-27 Thread Martin Morgan
Vitalie S. wrote: > Hello, > > Is there a way to access function's slots from inside the function? I > want to make functions slot dependent without recurring to generic > function mechanism. Hi Vitalie -- See this recent thread in R-devel https://stat.ethz.ch/pipermail/r-devel/2009-June/053

[R] Make functions aware of theyr own slots.

2009-06-25 Thread Vitalie S.
Hello, Is there a way to access function's slots from inside the function? I want to make functions slot dependent without recurring to generic function mechanism. Probably this goes a bit against R philosophy, but otherwise I don't really see the use of extending functions in R. Would