[R] Version 0.90.1 bug report on matrix indexing

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Wed Feb 23 12:19:04 CET 2000


Joerg Kindermann <Joerg.Kindermann at gmd.de> writes:

> 
> > bla_matrix(1:24,nc=6)
> > dimnames(bla) _ list(1:4,1:6)
> > bla
>   1 2  3  4  5  6
> 1 1 5  9 13 17 21
> 2 2 6 10 14 18 22
> 3 3 7 11 15 19 23
> 4 4 8 12 16 20 24
> > bla["a",]_.6
> > bla
>   1   2    3    4    5    6
> 1 1 0.6  0.6  0.6  0.6  0.6
> 2 2 6.0 10.0 14.0 18.0 22.0
> 3 3 7.0 11.0 15.0 19.0 23.0
> 4 4 8.0 12.0 16.0 20.0 24.0
> > gc()
> Bus error

Still present in (yesterdays) 1.0.0pre. Thanks for the report.

-- 
   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