On Wed, 29 Mar 2006, Muhammad Subianto 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").
Please try to use the compress=TRUE argument to save(). If you save()ed uncompressed, you have to load uncompressed, unzip first. There are unzipping functions in R too, see ?zip.file.extract. > > 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@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 > -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045 Bergen, Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43 e-mail: [EMAIL PROTECTED] ______________________________________________ R-help@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