Displaying 1 result from an estimated 1 matches for "299311".
Did you mean:
299,11
2012 Feb 17
3
editing import data, strings
...I tried with
a <- read.csv(file, sep =",", as.is = TRUE, row.names = 1, header = TRUE),
.. but instead of numbers, it gives me strings for example: "299,311".
I can handle this string for example:
b <- "299,311"
as.numeric(gsub(",", "", b))
299311
Now, I?m interested how to inport it from that file,.
I tried with
a <- read.csv(file, sep =",", as.is = TRUE, row.names = 1, header = TRUE)
a <- gsub(",", "", a)
a <- as.numeric(a)
But it doesn't work.
I used search engine on forum, but didn't find...