Please read ?read.table again, and pay special attention to the
check.names argument.
A - is not allowed in a column name because it would lead to problems like:
mydata$a-b vs mydata$a - b
where
mydata$a.b has no such confusion.
If you must have - instead of ., you can use check.names=FALSE and
To Whom It May Concern:
I have noticed that all of the hyphens ("-") are changed to periods (".") when
I try to read.table() and the headers contain "-"
I am using R 2.13 on a RedHat system.
Here is the situation:
I have the following a tab-delimited text file saved as test.txt
File1-a.txt
F
2 matches
Mail list logo