I'm running Rx64 3.01 on Windows 7 and until the other day I could easily
unzip zip files with unzip (package utils 3.01). Since yesterday however I
get an error. Let's say my zipfile file path is called zfile (I'm omitting
the output directory for this example). When I try to unzip it I get the
following message (I also got the same message with Rx64 3.00 on which the
following code has always worked).

 >unzip(zfile)Warning message:In unzip(zfile) : error -1 in extracting
from zip file

The zip files are absolutely fine, there's nothing wrong with them (I can
open them and browse them, and once I've extracted the R code within them
they run on R). I've cleaned the workspace,re-started R several times,
created empty and fake zip files, attempted the same thing on different
files and directories. searched for previous posts but got nowhere. The
strangest thing is that the code above worked until just the other day and
now it doesn't. I think I might have updated all packages, so maybe that's
what caused the issue. Has this happened to anyone else and have you found
a solution?

Apologies if I can't give any more code but this seems to have very little
to do with the code and more with R/Windows 7.
Many thanks
M

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
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