[R] Suggestion for implementation

Christoph Lange clange at epost.de
Sun Apr 14 20:00:59 CEST 2002


I wonder if it was possible (and desireable) to implement means to
protect data objects (and functions) from overwriting them. So for
instance:

> x <- 5
> protect(x)
> x <- 8
Error: x is read only


Or would that be against the philosophy of R to be compatible to S?!

Just a RFC ;-)

  Yours,
    Christoph.

ps. Your probably know the situations that let you think of such a
feature :-( ...

-- 
Christoph Lange                                    clange at epost.de
Verhaltensbiologie, FU Berlin                            838-55068
Haderslebener Str. 9, 12163 Berlin
http://www.verhaltensbiologie.fu-berlin.de/
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list