[R] exporting multidimensional matrix from R

2010-01-28 Thread Gopikrishna Deshpande
Hi, I have a matrix of size 19x512x20 in R. I want to export this file into another format which can be imported into MATLAB. write.xls or write.table exports only one dimension. please send a code if possible. I am very new to R and have been struggling with this. Thanks ! Gopi

Re: [R] exporting multidimensional matrix from R

2010-01-28 Thread David Winsemius
On Jan 28, 2010, at 10:42 AM, Gopikrishna Deshpande wrote: Hi, I have a matrix of size 19x512x20 in R. No, you don't. Matrices are only 2 dimensional in R. You may have an array, however. I want to export this file into another format which can be imported into MATLAB. write.xls or

[R] exporting multidimensional matrix from R

2010-01-27 Thread Gopikrishna Deshpande
Hi, I have a matrix of size 19x512x20 in R. I want to export this file into another format which can be imported into MATLAB. write.xls or write.table exports only one dimension. please send a code if possible. I am very new to R and have been struggling with this. Thanks ! Gopi