[R] names of objects in .rda

Christos Hatzis christos at nuverabio.com
Fri May 11 20:13:53 CEST 2007


You're right.  I didn't realize that what happens when attaching is that

"a new environment is created on the search path and the elements of a list
(including columns of a data frame) or objects in a save file or an
environment are *** copied *** into the new environment" 

Thanks.
-Christos

> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch 
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Seth Falcon
> Sent: Friday, May 11, 2007 1:32 PM
> To: r-help at stat.math.ethz.ch
> Subject: Re: [R] names of objects in .rda
> 
> "Christos Hatzis" <christos at nuverabio.com> writes:
> 
> > An approach would be to attach it and then use ls()
> 
> No, that really is not an approach.  If you load it, then 
> there is no problem to read the names.  The point is not to 
> load it.  This is important when dealing with large objects 
> or large collections of objects.
> 
> + seth
> 
> --
> Seth Falcon | Computational Biology | Fred Hutchinson Cancer 
> Research Center http://bioconductor.org
> 
> ______________________________________________
> 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
> and provide commented, minimal, self-contained, reproducible code.
> 
>



More information about the R-help mailing list