I would like to read a csv file but there are columns that contain strings of digits (string variable). The values in the csv file are quoted (\"\") so easily identifyable as st
You can use as.character() on your two columns.
as.character()
Example :
vec <- c(1,2,3) > vec [1] 1 2 3 vec <- as.character(vec) > vec [1] "1" "2" "3"
So just write :
datSwm[,4:5] <- as.character(datSwm[,4:5])