[R] "privileged slots"

About this list Date view Thread view Subject view Author view Attachment view

From: Matthias Kohl (Matthias.Kohl@uni-bayreuth.de)
Date: Thu 27 May 2004 - 23:01:51 EST


Message-id: <40B5E6BF.1090100@uni-bayreuth.de>

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

______________________________________________
R-help@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


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:13 EST