R Data Analysis Cookbook(Second Edition)
上QQ阅读APP看书,第一时间看更新

Reading data directly from a website

If the data file is available on the web, you can load it directly into R, instead of downloading and saving it locally before loading it into R:

> dat <- read.csv("http://www.exploredata.net/ftp/WHO.csv")