When reading a csv, R automatically appends the letter X to syntactically invalid column names. For example:
> read.csv(text = "a,1,b")
[1] a X1 b
How, can I append a different letter within the read.csv function when reading in the file, for example instead of 'X' appending 'foo' to give the output?:
[1] a foo1 b