From ligges at statistik.uni-dortmund.de  Wed Jul 21 17:12:37 2004
From: ligges at statistik.uni-dortmund.de (Uwe Ligges)
Date: Wed Jul 21 17:11:46 2004
Subject: [Rd] vector documentation error?
In-Reply-To: <40FE65C5.1070708@pdf.com>
References: <40FE65C5.1070708@pdf.com>
Message-ID: <40FE87E5.2040903@statistik.uni-dortmund.de>

Spencer Graves wrote:

>      The help file for "vector" in R 1.9.1 for Windows includes the 
> following:
>     x <- c(a = 1, b = 2)
>     is.vector(x)
>     as.vector(x)
>     all.equal(x, as.vector(x)) ## FALSE

That's a documentation bug (still there in R-devel from yesterday).
I guess the author of the help page meant

    identical(x, as.vector(x)) ## FALSE

Uwe



>      I ran this just now and got TRUE.
>      Should I bother to report such things?  If yes, to whom?
>      Thanks for all your hard work to make R a reality.  It makes it so 
> much easier to develop new statistical methods for almost any purpose 
> and through that to contribute to building a better world for all.
>      Sincerely, Spencer Graves
> 
> p.s.  Please excuse if I'm sending this to the wrong address.  I went to 
> www.r-project.org -> Mailing Lists and double clicked on an apparent hot 
> link to "r-bugs" and got nothing (in Netscape 7.1 under Windows 2000).  
> Therefore, I decided to send this to r-devel.
> 
> ______________________________________________
> R-devel@stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-devel


[Rd] vector documentation error?
Uwe Ligges