aharach / Test

0 stars 0 forks source link

Type of Data Supported #19

Open aharach opened 9 years ago

aharach commented 9 years ago
aharach commented 9 years ago

This would be helpful for xls and xlsx files, even in a zip file: http://www.r-bloggers.com/extracting-datasets-from-excel-files-in-a-zipped-folder/

fname <- unzip(tf, list=TRUE)$Name[1] unzip(tf, files=fname, exdir=td, overwrite=TRUE) fpath <- file.path(td, fname) data <- read.xls(fpath, sheet = 1)