If I create a data.frame using session variables as follows:

classResults<-data.frame(subjEnglish,gradeEnglish,subjFrench,gradeFrench,row.names=studentName)


How can I remove the variables? I tried

> rm(names(classResults))
Error in rm(names(classResults)) : 
  ... must contain names or character strings


Also, how can I include the row.names variable. I tried

> names(classResults)
[1] "subjEnglish"  "gradeEnglish" "subjFrench"   "gradeFrench" 


but this does not include that name.

Thanks.
	[[alternative HTML version deleted]]

