select a column in data.table in r code example Example: select columns in r df %>% select(column1, column2)