You can do this from R:
download.file("http://cran.r-project.org/src/contrib/ISLR_1.0.tar.gz", dest="ISLR.tar.gz") untar("ISLR.tar.gz",files="ISLR/data/Default.rda") L <- load("ISLR/data/Default.rda") summary(Default)
If you want to keep a copy of the data file:
file.copy("ISLR/data/Default.rda",".")
Cleaning:
unlink(c("ISLR.tar.gz","ISLR"),recursive=TRUE)
I'm not sure if you might need to load tarball - in principle, you could run untar() directly on a network connection, but I donβt think the underlying mechanism can actually extract the file without loading the entire tarball somewhere on your machine.
source share