I have a data frame with multiple columns. Now, I want to get rid of the row.names column (column 1), and thus I try to select all the other columns.
E.g.,
I think it's better to focus on wanting to get rid of one column of data and not wanting to select every other column. You can do this as @Arun suggested:
olddata[,-1]
Or:
olddata$ColNameToDelete <- NULL