[R] How to change the value of a class slot

Thomas Petzoldt petzoldt at rcs.urz.tu-dresden.de
Thu Jun 9 21:53:49 CEST 2005


Ross Boylan wrote:

> The paper also notes that call-by-value vs call-by-reference, which is
> the root of the slot update problem, is really orthogonal to the
> FOOP/COOP distinction.  It's easy to imagine FOOP with
> call-by-reference.  R.oo uses references.

Yes, it can be found on http://www.maths.lth.se/help/R/R.oo/


> That paper also mentions that Omegahat has on OOP package, which
> apparently is similar in spirit to R.oo while taking a more low-level
> approach to the implementation.
> 
> Ross

The Omegahat related article was in R News:

"Object-Oriented Programming in R" by John M. Chambers & Duncan Temple 
Lang. R News Vol. 1/3, September 2001, p 17.
http://cran.r-project.org/doc/Rnews/Rnews_2001-3.pdf


Thomas




More information about the R-help mailing list