[R] re ading in array

David Winsemius dwinsemius at comcast.net
Thu Aug 20 18:50:18 CEST 2009


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




More information about the R-help mailing list