[R] names of objects in .rda

Douglas Bates bates at stat.wisc.edu
Fri May 11 18:59:18 CEST 2007


On 5/11/07, Benilton Carvalho <bcarvalh at jhsph.edu> wrote:
> Hi everyone,
>
> sorry if this was discussed before (and in this situation, could you
> please point me to the discussion in the archive? My search didn't
> seem to be effective).
>
> Is there a way of getting the names of objects in a .rda file without
> having to load it?

Although it is not terribly different from loading an .rda file you
can get the names of the objects via the sequence

objects(attach("myRdaFile.rda")); detach()



More information about the R-help mailing list