[Rd] Cautionary tale about c (PR#695)
Fri, 13 Oct 2000 10:42:44 -0500 (CDT)
> This situation arose in a computer practical this morning. A
> student overwrote "c" with a function. This messes up lots of
> things, but it is difficult to remove the function "c" from the
> global environment because it is used as a function in both "rm"
> and "remove". [The solution was to reassign "c" as a number, and
> then remove it.] Would it be reasonable in "rm" and "remove" to
> insist that the "c" function is got from the base? The same
> might apply to ".Internal" and "as.character", which are also
One thing we've been talking about a bit is adding some form of name
space management. This would insure the the c referred to in rm would
be the c in base.
University of Minnesota Phone: 612-625-7843
School of Statistics Fax: 612-624-8868
313 Ford Hall, 224 Church St. S.E. email: firstname.lastname@example.org
Minneapolis, MN 55455 USA WWW: http://www.stat.umn.edu
r-devel 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: email@example.com