[R] out of memory?
Peter Dalgaard BSA
p.dalgaard at biostat.ku.dk
Thu Mar 22 14:20:20 CET 2001
"Valery A.Khamenya" <news_vkhamenya at chat.ru> writes:
> Hello Peter,
>
> Thursday, March 22, 2001, 2:38:48 PM, you wrote:
>
>
> PDB> (If there is a bug, it is in array() not complaining when its data=
> PDB> argument is getting truncated).
>
> did you refered to following bug:
>
> #-----------------
> > "+"(1:3,10:11)
> [1] 11 13 13
> Warning message:
> longer object length
> is not a multiple of shorter object length in: 1:3 + 10:11
> > log(1:3,10:11)
> [1] 0.0000000 0.2890648 0.4771213
> >
> #-----------------
>
> which plays its role in
>
> #...
> robj <- array(FUN(X, Y, ...), c(dX, dY))
> #...
>
> of outer source?
No, this one
> array(1:12,c(2,3))
[,1] [,2] [,3]
[1,] 1 3 5
[2,] 2 4 6
>
One might have expected a warning that the array isn't big enough to
hold the data, but the behaviour *is* compatible with Splus 3.4....
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list