[R] unzip error with odfWeave and OpenOffice

Bob Kelly vk2toi at optusnet.com.au
Fri Apr 4 04:30:01 CEST 2014

Hello r-help mailing list readers,

I am trying to create a report with OpenOffice (ver 4.0.1) using the 
odfWeave (ver 0.8.4) package.
This is completely new to me so I am using part of an example from the 
book R in Action.
I have used 7-zip on the file and this opens it correctly, am I doing 
something wrong in setting up the process.

input to R (3.0.2)

> infile <- "example1.odt"
> outfile <- "example-out.odt"
> odfWeave(infile, outfile)

output from R

> odfWeave(infile, outfile)
   Creating  C:\Users\RFMOBI~1.INS\AppData\Local\Temp\Rtmp48EjRV/odfWeave04123430182
   Copying  example1.odt
   Setting wd to  C:\Users\rfmobile.INSTRUMENTS\AppData\Local\Temp\Rtmp48EjRV\odfWeave04123430182
   Unzipping ODF file using unzip -o "example1.odt"
Error in odfWeave(infile, outfile) : Error unzipping file

below is the file I am trying to open

My Sample Report

Robert I. Kabacoff, Ph.D.

<<echo=true, results=hide>>=

1 Results


Bob Kelly

More information about the R-help mailing list