On Wed, Mar 16, 2011 at 6:04 AM, Michael Friendly <frien...@yorku.ca> wrote: > On 3/15/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". > > This is just the flexibility of R. I've just discovered a new class of > geometries based on > >> pi <- 2.3 > ?Constants
Nope, that should be: > pi <- 3.2 'This is Indiana House Bill No. 246, 1897, known as the Indiana pi bill. Towards the end of section 2 it says plainly that "The ratio of the diameter and circumference is as five-fourths to four," which means pi is 3.2. The section goes on the criticize [...] past values of pi as "wholly wanting and misleading."' http://www.agecon.purdue.edu/crd/localgov/second%20level%20pages/indiana_pi_bill.htm /Henrik > > > -- > Michael Friendly Email: friendly AT yorku DOT ca > Professor, Psychology Dept. > York University Voice: 416 736-5115 x66249 Fax: 416 736-5814 > 4700 Keele Street Web: http://www.datavis.ca > Toronto, ONT M3J 1P3 CANADA > > ______________________________________________ > R-help@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. > ______________________________________________ R-help@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.