[R] Version 0.90.1 bug report on matrix indexing

Joerg Kindermann Joerg.Kindermann at gmd.de
Wed Feb 23 11:49:40 CET 2000


Hi ,

R Version 0.90.1 on Solaris2.5 and Suse Linux 6.[1,3] crashes some time
after a matrix row or column has been addressed via an incorrect
row/colname:


R : Copyright 1999, The R Development Core Team
Version 0.90.1  (December 15, 1999)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type    "?license" or "?licence" for distribution details.

R is a collaborative project with many contributors.
Type    "?contributors" for a list.

Type    "demo()" for some demos, "help()" for on-line help, or
        "help.start()" for a HTML browser interface to help.
Type    "q()" to quit R.


Attaching Package "package:genproc":


        The following object(s) are masked from package:base :

         date unix 

> 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

--  Dr. Joerg Kindermann             GMD - AiS
            German National Research Center for Information Technology
                Schloss Birlinghoven, D-53754 St. Augustin, Germany
                   phone: +49 02241 142437 fax: +49 02241 142342
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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