I'm (very) new to R and I'm trying to learn by myself, but I can't find an answer for this, or at least, not a optimal one!
I have a CSV containing lines like this: "123112300500","A","395"
As you can see, the first and the last column are integer, but they're inside quotation marks. I don't want to preprocess my input (since I think that R can handle this), and I tried to import the csv like this:
set <- read.csv("set.csv", header = TRUE, sep=",", colClasses=c("integer", "character", "integer")
but it won't work since it doesn't expect the quotation marks!
My solution is for the moment doing set$V1 <- as.integer(set$V1) but it introduces a lot of overhead (I've like 2 millions rows and different columns with integer or numeric values).
How can I use read.csv in order to import values with integer (or float, or everything else) between marks?
Thanks to anyone in advance :)