Reputation: 131
When i read a csv file through R, all specific symbols(>,<) are replaced by points(.).
for example:
csv file: users>75
R shows users.75
How i can avoid this?
Upvotes: 5
Views: 3276
Reputation: 49820
You can use check.names=FALSE
in your read.csv
call.
From ?read.csv
:
check.names: logical. If ‘TRUE’ then the names of the variables in the data frame are checked to ensure that they are syntactically valid variable names. If necessary they are adjusted (by ‘make.names’) so that they are, and also to ensure that there are no duplicates.
Upvotes: 10