[R] extract columns from a dataframe

From: Rado Bonk <rado.bonk_at_jrc.it>
Date: Mon 05 Jul 2004 - 22:53:37 EST


Dear R users,

I'm coming back to R after while. I have a data frame with 200 columns, each column has a name. How to extract all columns to a new dataset, but the specified (by names) ones?

I was playing with that for a little bit using the vector syntax but got several syntax errors.

Thanks,

Rado



R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Mon Jul 05 22:58:25 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 09:33:05 EST