Read zipped file into R
Sometimes I do not want to unzip files before reading them to R. There is a nice way of reading zipped file (via a tmp dir) into R.
myfile <- read.csv(zip.file.extract("~/files/test.csv", "myzip.zip"))
Where the file test.csv is actually located in the: ~/files/myzip.zip/test.csv.
offers daily e-mail updates
news and tutorials
on topics such as: Data science
, Big Data, R jobs
, visualization (ggplot2
), programming (RStudio
, Web Scraping
) statistics (regression
, time series
) and more...
If you got this far, why not subscribe for updates
from the site? Choose your flavor: e-mail
, or facebook