Hi,

I only loaded survival and Biobase yesterday. But I cannot reproduce the
error myself today... I'll report again when I find out more.

Best,

Jelle

http://www.math.leidenuniv.nl/~jgoeman  

> -----Original Message-----
> From: Peter Dalgaard [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 14 October, 2004 6:52 PM
> To: Goeman, J.J. (MSTAT)
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [Rd] is.vector() gives error (PR#7288)
> 
> 
> [EMAIL PROTECTED] writes:
> 
> > I get a strange error:
> > 
> > > is.vector(1:10)
> > Error: recursive default argument reference
> 
> Hmm. I can't reproduce that on Linux...
>  
> > What's recursive about is.vector?
> 
> Nothing. You generally get that error if two arguments refer to
> eachother, as in
> 
> > f <- function(x=y,y=x)x+y
> > f(1)
> [1] 2
> > f(,1)
> [1] 2
> > f()
> Error in f() : recursive default argument reference
> 
> but nothing of that sort is going on in is.vector. Unless it somehow
> got redefined --- are you sure that you got the original is.vector
> there? 
> 
> >  is.vector
> function (x, mode = "any")
> .Internal(is.vector(x, mode))
> <environment: namespace:base>
> 
> The other possibility is that you're tickling a low-level, system
> dependent bug in the evaluator. Can anyone reproduce this?
> 
> -- 
>    O__  ---- Peter Dalgaard             Blegdamsvej 3  
>   c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
>  (*) \(*) -- University of Copenhagen   Denmark      Ph: 
> (+45) 35327918
> ~~~~~~~~~~ - ([EMAIL PROTECTED])             FAX: 
> (+45) 35327907
>

______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to