Subject: Re: rbind problem (PR#338)
From: Thomas Lumley (email@example.com)
Date: Wed 24 Nov 1999 - 03:41:58 EST
On Tue, 23 Nov 1999 firstname.lastname@example.org wrote:
> In the new version 0.90.0, rbind won't take a vector and a matrix from me,
> but works OK if I coerce the vector to a matrix. The following was run on
> a new session (i.e., no prior work), and has been duplicated on 2
> machines: an SGI running Irix 6.5, and an Intel box running Red Hat Linux
Ok, this is an interesting problem in rbind when there are no names and a
matrix and a vector and deparse_level=1
The reason we segfault is basically
(gdb) print nrows(R_NilValue)
$59 = 1076101128
which seems like a bad idea
At lines 1328ff we have a bug where we iterate over the number of rows of
"u", forgetting that after line 1315 u points to the (nonexistent)
dimnames rather than to the matrix.
I'm testing a fix.
Assistant Professor, Biostatistics
University of Washington, Seattle
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: email@example.com
This archive was generated by hypermail 2b25 : Tue 04 Jan 2000 - 14:16:10 EST