I have some columns in a data frame with column names of CO₂.I want to change this to CO2 (no subscripts). How can I do this? in the data table, it reads as CO2 and when I print column names, it reads as CO₂.
I tried following code but it refuses to change.

dput(dataset)?dputof data subsets, not whole data. Especially on a question like this that is about the column names, we don't need or want the whole data set.dput(dataset[1:5, ])is good--or in this casedatasetappears to be alistsodput(dataset[[1]][1:5, ]).