Reads specific columns of a csv file by using the xsv command line utility https://github.com/BurntSushi/xsv

read.xsv(file, select, ...)

Arguments

file

the path to the csv file

select

character vector of column names to extract

...

additional arguments passed to fread

Value

data.table