[R] Controlling values in read.table

Svempa fempa at yahoo.com
Sat Oct 13 15:39:36 CEST 2007

I have this code:

list1 <- list()
for (i in list.files(pattern=".*c02.*AFDH0.*")){
x <- read.table(i,skip=20,fill=TRUE)
     list1[[i]] <- x

Somehow I would like the read.table function to read only values in each
file that are over a certain limit, say >1. Is this the easiest way or is it
better to tamper with 'list1' when it's done?

View this message in context: http://www.nabble.com/Controlling-values-in-read.table-tf4618306.html#a13189693
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list