Re: [R] column names issue with read.csv

2011-08-10 Thread Jean V Adams
eological Survey Great Lakes Science Center 223 East Steinfest Road Antigo, WI 54409 USA From: Anthony Ching Ho Ng To: r-help@r-project.org Date: 08/10/2011 08:18 AM Subject: [R] column names issue with read.csv Sent by: r-help-boun...@r-project.org Dear List, I wonder why when using read.csv

[R] column names issue with read.csv

2011-08-10 Thread Anthony Ching Ho Ng
Dear List, I wonder why when using read.csv(), if the column name contains a numeric i.e. a stock symbols-"0001.HK", it will automatically insert an "X" character to the column names - "X0001.HK". Now I have to manually do a loop and use substring() to remove the "X" character. Any advice? Thanks