[R-SIG-Mac] Efficient Data Formats

Sean Davis sdavis2 at mail.nih.gov
Wed Dec 30 20:48:05 CET 2009


On Wed, Dec 30, 2009 at 1:48 PM, Francis Smart <smartfra at msu.edu> wrote:
> Hi,
>
> I was wondering if someone could please direct me on how to choose the
> best format in order to save, open, and use data.  I am currently
> using datasets that are in csv format.  However, they are purely
> numeric and I think I should be to reduce their size substantially.

R can read and write .gz files.  See gzfile().  Also, you can simply
save R objects using save().  See the help for that function.  Of
course, there is the R import/export manual that could be helpful, as
well.

Sean



More information about the R-SIG-Mac mailing list