Hi, Try with: read.csv(file="sales.csv",header=TRUE,check.names=FALSE) A.K.
----- Original Message ----- From: Charles Thuo <[email protected]> To: [email protected] Cc: Sent: Thursday, September 12, 2013 3:15 AM Subject: [R] how to retain dimnames while exporting from excel into r v<- read.csv(file="sales.csv",header=TRUE) v i get an output whose column names are V1,V2, and so on but i would like to retain the original column names such as january through to december. Charles. [[alternative HTML version deleted]] ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

