library(data.table) file <- "D:\\X17065382\\Documents\\cad\\2016_mar\\2016_domicilio_mar.csv" fread(file, nrows = 5)