[R] load file RData which store in zip file

2006-03-29 Thread Muhammad Subianto
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

Re: [R] load file RData which store in zip file

2006-03-29 Thread Henrik Bengtsson
Hi. R can do all of this for you. See ?save.image and especially the 'compress' argument. /Henrik On 3/29/06, Muhammad Subianto [EMAIL PROTECTED] 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

Re: [R] load file RData which store in zip file

2006-03-29 Thread Philipp Pagel
On Wed, Mar 29, 2006 at 11:44:03AM +0200, Muhammad Subianto wrote: How can I open/load filename.zip? Is there any function to open R workspace which it store in zip file? I think you have two options: 1) use zip.file.extract() to unzip the file before loading 2) save your data with

Re: [R] load file RData which store in zip file

2006-03-29 Thread Roger Bivand
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

Re: [R] load file RData which store in zip file

2006-03-29 Thread Muhammad Subianto
I apologize for my lack of knowledge. Thank you very much for the suggestions. These are exactly what I was looking for. ?zip.file.extract Help for 'zip.file.extract' is shown in the browser Maybe I must re-run and re-save again to compress my R workspace. ?save.image Help for 'save.image'

Re: [R] load file RData which store in zip file

2006-03-29 Thread Prof Brian Ripley
On Wed, 29 Mar 2006, Henrik Bengtsson wrote: Hi. R can do all of this for you. See ?save.image and especially the 'compress' argument. It is nice to know that we anticipated your needs. It is actually even easier. If you do (using the Rtools or other sources, or on a Unix-alike) gzip

Re: [R] load file RData which store in zip file

2006-03-29 Thread Seth Falcon
Prof Brian Ripley [EMAIL PROTECTED] writes: [As an aside, I wonder whether compress=TRUE should not be the default for binary save/save.image. It adds little time and may save a lot of disc space.] Here's one user who thinks that is a great idea. I often have to remind developers who