RE: [R] row naming

From: Kevin Bartz <>
Date: Fri 16 Jul 2004 - 05:05:40 EST

The rownames of a data.frame are there for reference; they are not considered a column in your data set and will not be included in any analyses. The short answer as to whether you should try to remove them is no. To read in the file, use read.table(file, header=F), as you probably already discovered.


-----Original Message-----
[] On Behalf Of Herman, David (NIH/NIMH)
Sent: Thursday, July 15, 2004 11:35 AM
To: ''
Subject: [R] row naming


            If I have a four column data set (with thousands of rows), that doesn't have a header, how do I load in this text file, WITHOUT a row added for naming(i.e. numbering the rows, 1 2 3 4 5......). Also, if a row is added for naming, then will it be actually included in the data? That is, will that numbered row be included in analysis I run? (like PCA)     Thanks!  

        [[alternative HTML version deleted]] mailing list PLEASE do read the posting guide! mailing list PLEASE do read the posting guide! Received on Fri Jul 16 05:36:29 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:55:00 EST