[R] Extracting Header From Table

Thomas Lumley tlumley at u.washington.edu
Mon Aug 5 22:26:53 CEST 2002

On Mon, 5 Aug 2002 PLauren at genelogic.com wrote:

> I read a tab-delimited ASCII table, with a header, into R thus.
> Table <- read.table(FileName, header=TRUE, sep="\t");
> Is there any way I can now retrieve the header.  The header information is
> obviously there since I see it, along with the values of the first row of
> data, when I type
> Table[1, ]

I think you want


r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list