Error 1 In Extracting From Zip File
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and
R Unzip Error 1
policies of this site About Us Learn more about Stack Overflow the unspecified error extracting zip file company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags
Error 0x80004005 While Extracting Zip File
Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes self extracting zip file a minute: Sign up r function unzip error 1 in extracting from zip file up vote 3 down vote favorite Environment: Windows 7 OS RStudio Version 0.99.491 I have been programming in R for about 4 months via the Coursera Data Science curriculum, but I have NEVER been successful in using the unzip function. I've looked at the forums for hours self extracting zip file command line for potential solutions, syntax problems, undefined arguments, etc., but to no avail. I eventually unzip the contents manually and proceed with the assignment, but I am tired of not knowing why it is not working. Here are a few examples of the error: fileName <- "StormData.zip" unzip(fileName, exdir = mainDir,subDir) Warning message: In unzip(fileName, exdir = mainDir, subDir) : error 1 in extracting from zip file unzip(fileName) Warning message: In unzip(fileName) : error 1 in extracting from zip file unzip(fileName, "stormdata.csv") Warning message: In unzip(fileName, "stormdata.csv") : error 1 in extracting from zip file unzip(fileName, "stormdata.csv", list = TRUE) Error in unzip(fileName, "stormdata.csv", list = TRUE) : zip file 'StormData.zip' cannot be opened Any suggestions would be greatly appreciated. r unzip share|improve this question edited May 14 at 1:16 Psidom 21.6k51435 asked May 14 at 0:33 Richmodo 161 Where are you getting the zip file from? –Divi May 14 at 0:40 It sounds like a permissions issue. –nrussell May 14 at 0:45 file is download from link –Richmodo May 15 at 8:37 I
here for a quick overview of the site Help Center Detailed answers to any questions you might have
Extracting Zip File In Linux
Meta Discuss the workings and policies of this site About Us Learn extracting zip file in ubuntu more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us
Error 1 In Extracting From Zip File Mac
Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like http://stackoverflow.com/questions/37221184/r-function-unzip-error-1-in-extracting-from-zip-file you, helping each other. Join them; it only takes a minute: Sign up Unzip returns error 1 for a zip file in R [closed] up vote 4 down vote favorite I am trying to load a medium sized zipped archive (.zip file ~140 Mb) that can be found here (direct link) (source: Deutsche Bundesbank (website)). After http://stackoverflow.com/questions/32785944/unzip-returns-error-1-for-a-zip-file-in-r downloading the file it is saved as "BKK-Download.zip". The file contains ~50.000s xml files with some rather strange names (such as "bbai3.q.de.n.v.bf90.f.kv.a1.s.2.n.e.z.xml") in three subfolders. In a first step I try to open the "tree.xml" file in the "tree" folder, in a second step I will open the file using the XML package. I try the first step by using the unzip function: f.path <- "path to the file" dat <- unzip(paste0(f.path, "BKK-Download.zip")) library(XML) xml.content <- xmlParse(dat[1]) # for the case that "tree.xml" is the first xml-file But instead, the unzip-command returns the following error: Warning message: In unzip(paste0(f.path, "BKK-Download.zip")) : error 1 in extracting from zip file If I try this with a test zip-archive with multiple folders and complicated file names (like the one mentioned above) everything works fine. Any ideas why this error might occur? r unzip share|improve this question asked Sep 25 '15 at 15:44 David 1,314422 closed as off-topic by aosmith, EdChum, Eric Renouf, scoa, Pascal Sep 28 '15 at 3:54 This questi
sorted by: [ date ] [ thread ] [ subject ] [ author ] https://stat.ethz.ch/pipermail/r-help/2015-January/424922.html On Wed, Jan 14, 2015 at 4:32 AM, Emilio Gianicolo