exclude data frame column R vector names code example Example: r data frame remove column df$columnName <- NULL