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