[R] How to reach the column names in a huge .RData file without loading it
bgunter.4567 at gmail.com
Wed Mar 16 17:52:31 CET 2016
Is it really a .Rdata file? If so, the answer is no, AFAIK, since
.Rdata files are serialized (binary) versions of e.g. worksheets that
can contain many different data objects. "colnames" has no meaning in
Corrections welcome if I have it wrong!
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Wed, Mar 16, 2016 at 8:59 AM, Lida Zeighami <lid.zigh at gmail.com> wrote:
> I have a huge .RData file and I need just to get the colnames of it. so is
> there any way to reach the column names without loading or reading the
> whole file?
> Since the file is so big and I need to repeat this process several times,
> so it takes so long to load the file first and then take the colnames!
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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