x is your data frame. x$total is the column you want to remove:
x$total <- NULL
More at the R Wiki
R-Cookbook.com is a collection of "recipes"--problems, solutions, and working examples--contributed by the R community in order to share code, promote the use of R, and make the learning process more efficient for new users.