I need to import a multiple .txt files with "." decimal separators in some columns
when i import the data, the numeric variables columns (with decimals like: 16,500.56) are loaded like character variables, using the next code:
library("data.table")
setwd("G:/Mi unidad/R MODELOS/MUTUAL BASE/")
files <-list.files()
DT <- rbindlist(sapply(files, fread, simplify = FALSE), use.names = FALSE)
how can i specify the decimal separator in this formula????