Re: [R] 1.8.1 behavior change?

2003-11-22 Thread Al Piszcz
o: Al Piszcz <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] > Subject: Re: [R] 1.8.1 behavior change? > > On Sat, 22 Nov 2003 15:14:31 -0500 (EST), you wrote: > > > > >I would like to have one handle or reference to > >'n' matrices. The matrices vary in size.

Re: [R] 1.8.1 behavior change?

2003-11-22 Thread Duncan Murdoch
On Sat, 22 Nov 2003 15:14:31 -0500 (EST), you wrote: > >I would like to have one handle or reference to >'n' matrices. The matrices vary in size. >All data is floating point. >The input files have 21 columns and a varying >number of rows. > >I am open to any data structure that will >support this.

Re: [R] 1.8.1 behavior change?

2003-11-22 Thread Al Piszcz
V1 V2 V3 1 19 20 21 2 22 23 24 3 25 26 27 [[4]] V1 V2 V3 1 28 29 30 2 31 32 33 3 34 35 36 4 37 38 39 > stt[[4]] V1 V2 V3 1 28 29 30 2 31 32 33 3 34 35 36 4 37 38 39 On Sat, 22 Nov 2003, Patrick Burns wrote: > Date: Sat, 22 Nov 2003 21:25:56 + > From: Patrick Burns <[EMAI

Re: [R] 1.8.1 behavior change? W EXAMPLE

2003-11-22 Thread Al Piszcz
stt <- data.frame() > stt[1]<-as.matrix(read.table("a")) Error in "[<-.data.frame"(`*tmp*`, 1, value = as.matrix(read.table("a"))) : replacement has 3 rows, data has 0 On Sat, 22 Nov 2003, Prof Brian Ripley wrote: > Date: Sat, 22 Nov 2003 18:41:

Re: [R] 1.8.1 behavior change?

2003-11-22 Thread Al Piszcz
e: > Date: Sat, 22 Nov 2003 18:41:55 + (GMT) > From: Prof Brian Ripley <[EMAIL PROTECTED]> > To: Al Piszcz <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] > Subject: Re: [R] 1.8.1 behavior change? > > On Sat, 22 Nov 2003, Al Piszcz wrote: > > > In >

Re: [R] 1.8.1 behavior change?

2003-11-22 Thread Duncan Murdoch
On Sat, 22 Nov 2003 11:57:32 -0500 (EST), you wrote: > >In it creates the following warning/error: > >Any advice appreciated. > > > stt <- data.frame() > # load all datasets into a dataframe > for (ds in 1:n) { >stt[ds] <- as.matrix(read.table(fileList[ds])) > } I don't know what you are

Re: [R] 1.8.1 behavior change?

2003-11-22 Thread Prof Brian Ripley
On Sat, 22 Nov 2003, Al Piszcz wrote: > In stt [1] V1 <0 rows> (or 0-length row.names) so is that what `worked properly' means? (It is also what S+6.1 does, but I am pretty sure it is not what anyone wanted. Note the number of columns is wrong, too.) In 1.7.1 it gave a similar error to 1.8.1

[R] 1.8.1 behavior change?

2003-11-22 Thread Al Piszcz
Instt <- data.frame() > # load all datasets into a dataframe > for (ds in 1:n) { + stt[ds] <- as.matrix(read.table(fileList[ds])) + } Error in "[<-.data.frame"(`*tmp*`, ds, value = as.matrix(read.table(fileList[ds]))) : replacement has 358 rows, data has 0 >