Hi,
Try with:
read.csv(file="sales.csv",header=TRUE,check.names=FALSE)
A.K.
- Original Message -
From: Charles Thuo
To: r-help@r-project.org
Cc:
Sent: Thursday, September 12, 2013 3:15 AM
Subject: [R] how to retain dimnames while exporting from excel into r
v<-
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]]
__
2 matches
Mail list logo