Re: [R] Remove empty list from list - remove only one row and make as matrix

2006-08-29 Thread Muhammad Subianto
Dear all, After I work around, I found in my list of data with only one row which need to remove or make it as matrix. Here I write again my other toy example: x - list(matrix(1:20, 5, 4),matrix(1:20, 5, 4),matrix(1:20, 5, 4),matrix(1:20, 5, 4),matrix(1:20, 5, 4)) y - list(c(1, -1, -1, 1,

Re: [R] Remove empty list from list - remove only one row and make as matrix

2006-08-29 Thread Dimitris Rizopoulos
Subject: Re: [R] Remove empty list from list - remove only one row and make as matrix Dear all, After I work around, I found in my list of data with only one row which need to remove or make it as matrix. Here I write again my other toy example: x - list(matrix(1:20, 5, 4),matrix(1:20, 5, 4

Re: [R] Remove empty list from list - remove only one row and make as matrix

2006-08-29 Thread Muhammad Subianto
://www.student.kuleuven.be/~m0390867/dimitris.htm - Original Message - From: Muhammad Subianto [EMAIL PROTECTED] To: r-help@stat.math.ethz.ch Sent: Tuesday, August 29, 2006 1:22 PM Subject: Re: [R] Remove empty list from list - remove only one row and make as matrix Dear all, After I