Thank you, Michael and Henrik. I'll try what you suggested.
>________________________________ > From: Henrik Bengtsson <h...@biostat.ucsf.edu> >To: "Shi, Tao" <shida...@yahoo.com> >Cc: "r-help@r-project.org" <r-help@r-project.org> >Sent: Tuesday, April 24, 2012 12:37 PM >Subject: Re: [R] load only one object from a .RData file > >You could do: > >library("R.utils"); >value <- loadToEnv("MyFile.RData")[["nameOfObject"]]; > >It still load all of the data, but it is not kept; only the object you grab. > >/Henrik > >On Tue, Apr 24, 2012 at 11:30 AM, Shi, Tao <shida...@yahoo.com> wrote: >> Hi list, >> >> >> Is there a way to load one specific object from a .RData file which contains >> multiple data objects? Thanks, >> >> ...Tao >> >> >> ______________________________________________ >> R-help@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. > > > [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.