Skip to content
Prev 156001 / 398502 Next

Fetching a range of columns

On Sep 14, 2008, at 12:22 PM, Jason Thibodeau wrote:

            
Have your tried:

data_filter <- data[seq(842,2411)]
write.table(data_filter, fileout, append = TRUE, sep= ",", row.names=  
FALSE, col.names = FALSE)

When I use that format on a dataframe I have lying around, I get the  
expected results and I do not find in testing that dataframes are  
challenged by assigning 5000 columns.