inst/snippet/read-table.R

# need header=TRUE because there is a header line.
# could also use read.file() without header=TRUE
traffic <- 
    read.table("http://www.calvin.edu/~rpruim/fastR/trafficTufte.txt", 
    header=TRUE)
traffic

Try the fastR package in your browser

Any scripts or data that you put into this service are public.

fastR documentation built on May 2, 2019, 5:53 p.m.