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

______________________________________________
[EMAIL PROTECTED] 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

Reply via email to