I am trying to rename the column names of a data frame called "data". It has
177 columns. I have used :

colnames(data) <- a

 

where a is a vector with 177 character names.

 

I don't get any error message, but the column names don't change because
when I then type :

colnames(data)

 

I get the same set of names as before, so the assignment doesnt seem to have
worked.

 

Any ideas or suggestions gratefully received.

 

Benny Chain

Benjamin Chain

Division of Infection and Immunity

Windeyer Building

UCL, 46 Cleveland St.

London W1T 4JF

Fax 00 44 20 7679 9301

 


	[[alternative HTML version deleted]]


