Gabor, maybe I am not understanding it right. I was thinking for example something like how a call to plot actually calls plot.zoo when zoo is loaded. And a specific call to plot.zoo would not work, etc. One would think that plot and plot.zoo are separate and that one could call the parent as well as the offsprings independently. But if this kind of setup is by design, than it's fine. Does that make sense?
On 2/6/08, Gabor Grothendieck <[EMAIL PROTECTED]> wrote: > > 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> wrote: > > > > > > On Feb 6, 2008 10:13 AM, tom soyer <[EMAIL PROTECTED]> 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@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. > > > -- Tom [[alternative HTML version deleted]] ______________________________________________ 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.