Hi All, This is probably basic, but I am just starting with R and very interested in learning how to automate my reports. I am just learning about Sweave and LaTex. I am following an example from online and am getting the following error: ....."Error unizipping file....unzip not found". I am not a programmer by any stretch, but I realize that the package is either not recognizing my native unzip utility, have to configure one in the package, or both. Additionally, I saw in the tutorial that they recommend a zip program. I tried to "install" it, but I couldn't figure out what to do. Any help you can provide will be greatly appreciated. Brock -- View this message in context: http://n4.nabble.com/odfWeave-Error-tp1595848p1595848.html Sent from the R help mailing list archive at Nabble.com.
> I am following an example from online and am getting the following error: > ....."Error unizipping file....unzip not found".Are zip and unzip in your path? If not you could use odfWeaveControl. Example: odfctrl <- odfWeaveControl( zipCmd = c("h:/bin/zip.exe -r $$file$$ .", "h:/bin/unzip.exe -o $ $file$$"), ) odfWeave(template, outfile, control = odfctrl)
Thanks for your help! Here is what I tried with no luck. I use 7-zip on my machine. Just in case it helps, I am running XP Pro 32 at the office. odfctrl <- odfWeaveControl(zipCmd = c("C:/Program Files/7-Zip/7zG.exe -r $$file$$ .", "C:/Program Files/7-Zip/7zG.exe -o $$file$$")) odfWeave("example01_in.odt", "example01.odt", control = odfctrl) I even tried to use 7z.exe, as well as 7zFM.exe. Essentially, I attempted to use all 3 exectuable files that are located in the install directory. Any ideas? Thanks again! -- View this message in context: http://n4.nabble.com/odfWeave-Error-tp1595848p1596418.html Sent from the R help mailing list archive at Nabble.com.
Can you use 7zG to unzip an odt file from a dos prompt? Max On Wed, Mar 17, 2010 at 9:46 AM, Btibert3 <btibert3 at gmail.com> wrote:> > Thanks for your help! > > Here is what I tried with no luck. I use 7-zip on my machine. Just in case > it helps, I am running XP Pro 32 at the office. > > odfctrl <- odfWeaveControl(zipCmd = c("C:/Program Files/7-Zip/7zG.exe -r > $$file$$ .", "C:/Program Files/7-Zip/7zG.exe -o $$file$$")) > > odfWeave("example01_in.odt", "example01.odt", control = odfctrl) > > > I even tried to use 7z.exe, as well as 7zFM.exe. ?Essentially, I attempted > to use all 3 exectuable files that are located in the install directory. > > Any ideas? > > Thanks again! > -- > View this message in context: http://n4.nabble.com/odfWeave-Error-tp1595848p1596418.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at 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. >-- Max