Instead of doing the download.files() and read.csv() route, how about just embedding the necessary data sets within an R package ala ucidata. From here, the information could downloaded via CRAN or a GH only release.
I think the only data you needed was: autompg?
In the future, these different packages or routines can be made into "virtual" or self-contained STAT 420 package that includes all the relevant material (c.f. msos)
Instead of doing the
download.files()andread.csv()route, how about just embedding the necessary data sets within an R package alaucidata. From here, the information could downloaded via CRAN or a GH only release.I think the only data you needed was: autompg?
In the future, these different packages or routines can be made into "virtual" or self-contained STAT 420 package that includes all the relevant material (c.f.
msos)