Message-ID: <1295272583318-3221214.post@n4.nabble.com>
Date: 2011-01-17T13:56:23Z
From: Pete Brecknock
Subject: data frame column name change
In-Reply-To: <AANLkTimh=VxzSwMK0idoGGUTKe3sBgV7gadw0aip+Hmb@mail.gmail.com>
or ....
d = data.frame(Col1=c(1,2,3),Col2=c(2,3,4),Col3=c(3,4,5))
names(d)
names(d)[1] = "NewName1"
names(d)
HTH
Pete
--
View this message in context: http://r.789695.n4.nabble.com/data-frame-column-name-change-tp3220684p3221214.html
Sent from the R help mailing list archive at Nabble.com.