[R] "privileged slots"

Matthias Kohl Matthias.Kohl at uni-bayreuth.de
Thu May 27 15:01:51 CEST 2004


Hi all,

in the help for RClassUtils I found the expression "privileged slots" in 
function "checkSlotAssignment" with the explanation:

/privileged slots (those that can only be set by accesor functions 
defined along with the class itself)/

I thought all slots of a (not private) class can be a accessed by a user 
via the @ Operator.
Is there a way to make a single slot of a class (not the whole class) 
private, so that you can access this slot only via an accessor function 
(not via @)?

Thanks, for your help
Matthias




More information about the R-help mailing list