[18907] in s-news-athena
[S] S-PLUS 2000 problem
daemon@ATHENA.MIT.EDU (Gibiansky, Leonid)
Tue Aug 10 17:33:11 1999
Message-Id: <90CD4EECC337D3118B1C00A0C96F6A4D06D6CD@globomax.com>
From: "Gibiansky, Leonid" <GibiansL@globomax.com>
To: "'splus'" <s-news@wubios.wustl.edu>
Date: Tue, 10 Aug 1999 17:21:40 -0400
Mime-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Just a warning:
This is what S-PLUS 4.5 gave me:
> test <- data.frame(a=T,b=T,c=F)
> test.vector <- as.logical(c(test$a,test$b,test$c))
> test.vector
[1] T T T
> test.vector <- c(test$a,test$b,test$c)
> test.vector
[1] 2 2 1
>
This is sufficiently bad by itself, but S-PLUS 2000 behaved
even worse:
> test <- data.frame(a=T,b=T,c=F)
> test
a b c
1 TRUE TRUE FALSE
> test.vector <- c(test$a,test$b,test$c)
> test.vector
[1] 1 1 1
>
Is there any other known problems with S-PLUS 2000 ?
Thanks,
Leonid
-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news