Extracting Header From Table
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 names(Table) -thomas -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._