I\'m looking to download a gzipped csv and load it as an R object without saving it first to disk. I can do this with zipped files but can\'t seem to get it to work with
This function generalizes Dirk's answer:
R <- function(file_url) { con <- gzcon(url(file_url)) txt <- readLines(con) return(read.csv(textConnection(txt))) }