[R] Problems with rlm

John Fox jfox at mcmaster.ca
Wed Apr 7 20:32:23 CEST 2004


Dear Ed and Erin,

> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch 
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Ed Hagen
> Sent: Wednesday, April 07, 2004 12:51 PM
> To: Erin Hodgess; r-help at stat.math.ethz.ch; andy_liaw at merck.com
> Subject: Re: [R] Problems with rlm
> 
> 
> Erin Hodgess wrote:
> 
> > Please don't use c as a vector name.  There is a function c 
> and that 
> > function gets overwritten.
> 

Actually, that's not right. A variable named c in the workspace won't shadow
the function c() in the base package (and certainly won't overwrite it):

> c <- 1
> c(c, 2)
[1] 1 2

> Thanks for that tip.  I was actually using different variable 
> names in my script, but simplified them for the posting.  

. . .

Regards,
 John




More information about the R-help mailing list