Re: [R] Extracting data from zip file in one directory to a different directory.

2019-02-25 Thread Jeff Newmiller
My bet is that the zip file is corrupt. Also, carefully read the documentation for the unzip function... your attempt 1 was not going to work as posed even with a valid file. On February 25, 2019 2:22:10 AM PST, "Montgomery, Nigel" wrote: >Hi there, I've tried several different ways to do the

[R] Extracting data from zip file in one directory to a different directory.

2019-02-25 Thread Montgomery, Nigel
Hi there, I've tried several different ways to do the above (see attempts below) and none have been successful. From my internet searches this would appear to be a common problem. Any pointers would be appreciated. Attempt 1: zip_file_loc <- "xx/yy/zipfile.zip" data <- read_csv(unzip(zip_file_loc)