From p.dalgaard@kubism.ku.dk  Wed Aug  6 14:16:11 1997
From: p.dalgaard@kubism.ku.dk (Peter Dalgaard BSA)
Date: 06 Aug 1997 15:16:11 +0200
Subject: R-alpha: Re: R 0.50.a2 - unlist() still broken
In-Reply-To: Kurt Hornik's message of Wed, 6 Aug 1997 13:06:38 +0200
References: <199708061106.NAA22853@aragorn.ci.tuwien.ac.at>
Message-ID: <x2wwlza1us.fsf@bush.kubism.ku.dk>


You still can't unlist() a regression object:

x<-rnorm(3)
y<-rnorm(3)+x
o<-lm(y~x)
unlist(o)
ou<-unclass(o)
ou
unlist(ou)

Part of the explanation seems to be contained in

unlist(list(1,2,3,4))
unlist(list(1,2,3,4,"a"))
unlist(list(1,2,3,4,x~y))

and also in

unlist(list(x~y))



-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


R-alpha: Re: R 0.50.a2 - unlist() still broken
Peter Dalgaard BSA