More than 5 years have passed since last update.
data がデータフレーム、col が要らない列名だとして、NULL を入れれば消える。
data
col
NULL
data$col <- NULL
Register as a new user and use Qiita more conveniently