select multiple columns in data.frame

PHOTO EMBED

Thu Jun 08 2023 12:20:37 GMT+0000 (Coordinated Universal Time)

Saved by @vs #r

df[, c("col1", "col2")]
content_copyCOPY