Skip to content
Prev 181601 / 398502 Next

How to set a filter during reading tables

We are reading big tables, such as,

Chemicals <-
read.table('ftp://ftp.bls.gov/pub/time.series/wp/wp.data.7.Chemicals',header
= TRUE, sep = '\t', as.is =T)

I was wondering if it is possible to set a filter during loading so that
we just load what we want not the whole table each time. Thanks,

-james