[R] load file RData which store in zip file

Henrik Bengtsson hb at maths.lth.se
Wed Mar 29 11:48:44 CEST 2006


Hi. R can do all of this for you. See ?save.image and especially the
'compress' argument.

/Henrik

On 3/29/06, Muhammad Subianto <msubianto at gmail.com> wrote:
> Dear R users,
> My situation:
> (1) I have limited workspace for my work harddisk (about 10 GiB).
> (2) I have a lot of data files in R workspace (*.RData) which most of
> them > 200 MiB. For some reason I zip some of them, for instance
> "filename.RData (250 MiB)" to "filename.zip (3MiB)". In this work I
> have a lot of more space of my harddisk.
>
> Normally, If I want to use "filename.RData" for my experiment, I can
> do it with load("filename.RData").
>
> Then I tried to open/load
>
> > load("filename.zip")
> Error: bad restore file magic number (file may be corrupted) -- no data loaded
> >
>
> My question:
> How can I open/load "filename.zip"? Is there any function to open R
> workspace which it store in zip file? I hope some one can give me
> advices.
>
>
> Best, Muhammad Subianto
>
> > version
>          _
> platform i386-pc-mingw32
> arch     i386
> os       mingw32
> system   i386, mingw32
> status
> major    2
> minor    2.1
> year     2005
> month    12
> day      20
> svn rev  36812
> language R
> >
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
>


--
Henrik Bengtsson
Mobile: +46 708 909208 (+2h UTC)




More information about the R-help mailing list