[R] "privileged slots"

Matthias Kohl Matthias.Kohl at uni-bayreuth.de
Fri May 28 10:45:10 CEST 2004


Martin Maechler schrieb:

>>>>>>"Matthias" == Matthias Kohl <Matthias.Kohl at uni-bayreuth.de>
>>>>>>    on Thu, 27 May 2004 14:01:51 +0100 writes:
>>>>>>            
>>>>>>
>
>    Matthias> Hi all, in the help for RClassUtils I found the
>    Matthias> expression "privileged slots" in function
>    Matthias> "checkSlotAssignment" with the explanation:
>
>    Matthias> /privileged slots (those that can only be set by
>    Matthias> accesor functions defined along with the class
>    Matthias> itself)/
>
>
>RClassUtils ???
>
> > help.search("RClassUtils")
>  
>
your right, sorry

but, at least a R Site search in "Functions"
gives me one match: "Utilities for Managing Class Definitions"
which hast the "title": RClassUtils{methods}             R Documentation

> No help files found with alias or concept or title matching
> 'RClassUtils' using fuzzy matching.
>
>-----
>
>So I guess that's not something in a standard R document.
>You should rather keep to the 'official documentation' ...
>  
>
I thought this is a official documentation ...

>    Matthias> I thought all slots of a (not private) class can
>    Matthias> be a accessed by a user via the @ Operator.  
>
>I tend to agree with your thoughts...
>
>    Matthias> Is there a way to make a single slot of a class (not
>    Matthias> the whole class) private, so that you can access
>    Matthias> this slot only via an accessor function (not via @)?
>
>I'd rather guess not.
>
>    Matthias> Thanks, for your help Matthias
>
>Martin
>
>______________________________________________
>R-help at stat.math.ethz.ch mailing list
>https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
>  
>




More information about the R-help mailing list