I saved an array of dim=c(28,28,28,28) using write.table. When I try to read it in with read.table I get a data frame of dim=c(28,28^3). Of course it is very important to preserve the structure of the saved array when I read it in. Does anyone know how to read it in so that it is an array of the proper dimensions? Thanks so much -- View this message in context: nabble.com/reading-in-array-tp25062073p25062073.html Sent from the R help mailing list archive at Nabble.com.
On Aug 20, 2009, at 9:30 AM, kobiwan wrote:> > I saved an array of dim=c(28,28,28,28) using write.table. When I try > to read > it in with read.table I get a data frame of dim=c(28,28^3). > > Of course it is very important to preserve the structure of the > saved array > when I read it in. Does anyone know how to read it in so that it is > an array > of the proper dimensions?Why not use save()? -- David Winsemius, MD Heritage Laboratories West Hartford, CT