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))

ERROR: error 1 in extracting from zip file

Attempt 2:
temp <- tempfile()
temp <- "xx/yy/zipfile.zip"
unzip(temp)

ERROR: error 1 in extracting from zip file

Regards, Nigel.

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to