[R] Does R have a "const object"?

Duncan Murdoch murdoch.duncan at gmail.com
Tue Mar 15 19:34:12 CET 2011


On 15/03/2011 2:23 PM, Uwe Ligges wrote:
>
> On 15.03.2011 15:53, xiagao1982 wrote:
> >  Hi, all,
> >
> >  Does R have a "const object" concept like which is in C++ language? I want to set some data frames as constant to avoid being modified unintentionally. Thanks!
>
>
> Although there is almost never a "No" in R, the best short answer is: "No".

Very nice answer!  Achim, this is a fortune candidate if I ever saw one!

Duncan Murdoch



More information about the R-help mailing list