[R] export array

Jim Holtman jholtman at gmail.com
Fri Dec 2 11:00:47 CET 2011

What do you want to do with it after you export; that will probably define what the data format would look like.  Why would you want each dimension separately?  How would you correlate them later?  Is it really 3 dimensions, or is your data just three columns where each row is long, lat and observation?  A small subset of the data would be helpful. Are you going to read it back into R, or send it somewhere else?  More information would be useful because you can create almost any output format that you want.

Sent from my iPad

On Dec 2, 2011, at 4:27, Ana <rrasterr at gmail.com> wrote:

> What is the best way to export 1 array??
> the array i am trying to export has 3 dimensions (long,lat,observations)
> how can i export each dimension independently?
> e.g. one csv file with only the long
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list