From ggrothendieck at gmail.com  Wed Feb 22 20:13:54 2006
From: ggrothendieck at gmail.com (Gabor Grothendieck)
Date: Wed, 22 Feb 2006 14:13:54 -0500
Subject: [Rd] PR#6614
In-Reply-To: <20060222184741.5EFB93F705@slim.kubism.ku.dk>
References: <20060222184741.5EFB93F705@slim.kubism.ku.dk>
Message-ID: <971536df0602221113g18fa674doa0deb0febae49bd9@mail.gmail.com>

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
>



[Rd] PR#6614
Gabor Grothendieck