Re: [R] help with oop in R - class structure and syntex

From: Gabor Grothendieck <ggrothendieck_at_gmail.com>
Date: Wed, 6 Feb 2008 12:43:49 -0500

If you believe that certain changes intended only to affect the local environment nevertheless affect the global environment please give a code example.

On Feb 6, 2008 12:11 PM, tom soyer <tom.soyer_at_gmail.com> wrote:
> Thanks Hardley. I see what you mean. You are right, I am not an expert in
> oop AND I don't really know how R oo works, so certainly I shouldn't be
> making any sweeping statement. I was just thinking about the issue of local
> vs. global, i.e. changes intended for the local environment shouldn't affect
> the global environment. That was all I meant.
>
>
> On 2/6/08, hadley wickham <h.wickham_at_gmail.com> wrote:
> >
> > On Feb 6, 2008 10:13 AM, tom soyer <tom.soyer_at_gmail.com> wrote:
> > > Thanks Gabor. I guess true oo encapsulation is not possible in R.
> >
> > Before making such a claim, I would encourage you to actually learn
> > what oo means. A couple of good readings are:
> >
> > Structure and Interpretation of Computer Programs.
> > http://mitpress.mit.edu/sicp/
> >
> > Concepts, Techniques, and Models of Computer Programming.
> > http://www.info.ucl.ac.be/~pvr/book.html
> >
> > Java style (message passing) oo is not the entirety of oo-based
> > programming!
> >
> > Hadley
> >
> > --
> > http://had.co.nz/
> >
>
>
>
> --
> Tom
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
>
> 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.
>



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 Wed 06 Feb 2008 - 17:46:31 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 Wed 06 Feb 2008 - 19:30:38 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