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

Uwe Ligges ligges at statistik.tu-dortmund.de
Tue Mar 15 19:23:08 CET 2011



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".

Best,
Uwe  Ligges


>
>
>
> xiagao1982
> 2011-03-15
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list