[R] extract columns from a dataframe

Rado Bonk rado.bonk at jrc.it
Mon Jul 5 14:53:37 CEST 2004

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.



More information about the R-help mailing list