Skip to content
Prev 4475 / 63421 Next

Cautionary tale about c (PR#695)

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

Jonathan.

--please do not edit the information below--

Version:
 platform = sparc-sun-solaris2.7
 arch = sparc
 os = solaris2.7
 system = sparc, solaris2.7
 status = 
 major = 1
 minor = 1.1
 year = 2000
 month = August
 day = 15
 language = R

Search Path:
 .GlobalEnv, Autoloads, package:base

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._