I agree with the submitter that this needs some kind of solution. Although data.frame[,-12] works, how do I drop a named column (the most common use case)? (I found this bug while searching for an answer.) cheers David
Try this: subset(iris, select = - Species) On 2/22/06, davidhughjones at gmail.com <davidhughjones at gmail.com> wrote:> I agree with the submitter that this needs some kind of solution. > Although data.frame[,-12] works, how do I drop a named column (the > most common use case)? (I found this bug while searching for an > answer.) > > cheers > David > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >