[R] unzip error with odfWeave and OpenOffice

Pascal Oettli kridox at ymail.com
Fri Apr 4 05:07:41 CEST 2014


Hello,

Probably a path problem:
https://stat.ethz.ch/pipermail/r-help/2010-March/232135.html

Regards,
Pascal

On Fri, Apr 4, 2014 at 11:30 AM, Bob Kelly <vk2toi at optusnet.com.au> wrote:
> 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>>=
> library(multcomp)
> library(xtable)
> attach(cholesterol)
> @
>
> 1 Results
>
>
>
> regards
>
> Bob Kelly
>
> ______________________________________________
> 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.



-- 
Pascal Oettli
Project Scientist
JAMSTEC
Yokohama, Japan




More information about the R-help mailing list