"McGehee, Robert" <[EMAIL PROTECTED]> writes:

> Shouldn't this work?
> 
> > .a <- 5
> > exists(".a")
> [1] TRUE
> > getAnywhere(".a")
> Error in exists(x, envir, mode, inherits) : 
>       invalid first argument
> 
> getAnywhere doesn't seem to like the "." prefix. Is this a bug?

Yes. It goes looking for getS3method(gen="", cl="a", TRUE) without
checking whether gen (or cl) is empty. Looks like an easy fix.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - ([EMAIL PROTECTED])             FAX: (+45) 35327907

______________________________________________
R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to