Hi R-team,

I am new user of R 2.8.1 in windows 2003 environment. I use Tinn-R as code
editor. When running the sample codes from odf manual the following error
occured.

I have winzip installed in my system. I used openoffice writer under windows
to create the example1.odt file.

can anybody help me out to fix the bug.

the code executed is as follows:

library(odfWeave)
> inFile <- "c:/example1.odt"
> outFile <- "c:/out.odt"
> imageDefs <- getImageDefs()
> imageDefs$dispWidth <- 4.5
> imageDefs$dispHeight<- 4.5
> setImageDefs(imageDefs)
>
> odfWeave(inFile, outFile)
  Copying  c:/example1.odt
  Setting wd to
C:\DOCUME~1\Srinivas\LOCALS~1\Temp\RtmpAgBGhm/odfWeave04172603473
  Unzipping ODF file using unzip -o "example1.odt"
Error in odfWeave(inFile, outFile) : Error unzipping file
In addition: Warning message:
In system(zipCmd[2], invisible = TRUE) : unzip not found


thanks in advance,

warm regards,
srinivas
statistical analyst.

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to