Skip to content
Prev 2339 / 398506 Next

Funny warning message

On Tue, 6 Apr 1999, John Logsdon wrote:

            
As you suggest, this happens when you've named a variable after a
system function ("t" and "c" are the most common culprits).  All you have
to do is remove the offending variable using rm(t) or rm(c); of course, if
you need that variable you probably want to copy it somewhere.
  R usually does the right thing under these circumstances, it's just
warning you.

  This should probably go in a FAQ list somewhere: I get this question
from students frequently.  Or perhaps (?) the warning message could be
usefully extended to 'ignored non-function "t"; type rm(t) to remove', or
even 'ignored non-function "t"; help("conflicts") for more information'
(where this basic information was provided in a help file).

  Ben


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._