[R] How to load a specific variable from an RData file?

cls59 chuck at sharpsteen.net
Fri Nov 6 02:33:19 CET 2009




Peng Yu wrote:
> 
> Thank you. When the RData file is huge, it will take a long time to
> load it even though I may only need a small variable. Could somebody
> add an option to 'load()' to load only a few given variables?
> 
> 

Check out the "filehash" package. It has an option that allows you to store
variables in single-file databases just like RData files.  However, with
filehash data files, you can pick and choose which variables to load.

Hope this helps!

-Charlie

-----
Charlie Sharpsteen
Undergraduate
Environmental Resources Engineering
Humboldt State University
-- 
View this message in context: http://old.nabble.com/How-to-load-a-specific-variable-from-an-RData-file--tp26224416p26225433.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list