【问题标题】:How to set properly a zip programme with odfWeave?如何使用 odfWeave 正确设置 zip 程序?
【发布时间】:2014-10-02 18:21:57
【问题描述】:

我使用 R 3.1.1 64 位 /Windows 8.1./7-zip 64 位 很多天以来,我一直在尝试使 odfWeave 工作,但没有成功。 我尝试了不同的 odfWeaveControl 选项(见下文),但仍然从 R 中收到该错误消息。 任何线索将不胜感激。 查尔斯

Error unzipping file
In addition: Warning message: running command 'C:\Programmes\7-Zip\7z x -tzip "example01_in.odt" -yr' had status 127

odfctrl <- odfWeaveControl(zipCmd = c("C:/Program Files/7-Zip/7z a -tzip $$file$$ .", "C:/Program Files/7-Zip/7z x -tzip $$file$$"))

odfctrl <- odfWeaveControl(zipCmd = c("C:/Program Files/7-Zip/7z -r $$file$$ .", "C:/Program Files/7-Zip/7z -o $$file$$"))

odfctrl <- odfWeaveControl(zipCmd = c("C:/Program Files/7-zip/7z a -tzip $$file$$","C:/Program Files/7-zip/7z x $$file$$ -aoa")) 

odfctrl <- odfWeaveControl(zipCmd = c("C:/Program Files/7-zip/7z a -tzip $$file$$ .", "C:/Program Files/7-zip/7z x -tzip $$file$$")) 

odfctrl <- odfWeaveControl(zipCmd = c("C:\\Programmes\\7-Zip\\7z a -tzip $$file$$ . -r", "C:\\Programmes\\7-Zip\\7z x -tzip $$file$$ -yr"))

odfWeave("example01_in.odt", "example01.odt", control = odfctrl)

【问题讨论】:

    标签: r zip odfweave


    【解决方案1】:

    也许有点晚了,但也许这篇文章有帮助:

    Create zip file: error running command " " had status 127

    不知道 odfWeave 是否像 utils::zip 那样与 zip 一起使用,但这显然是一个相关问题

    【讨论】:

      猜你喜欢
      • 2019-04-01
      • 2010-09-22
      • 2020-04-15
      • 2015-04-08
      • 1970-01-01
      • 1970-01-01
      • 2016-12-23
      • 2021-05-19
      • 1970-01-01
      相关资源
      最近更新 更多