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