[R] Error in odfWeave

From: Rajdl Daniel <RAJDL_at_fnplzen.cz>
Date: Tue 23 Jan 2007 - 10:52:43 GMT

Dear R-experts,
I have tried this command:

odfWeave("C:/Documents and
Settings/rajdl/Dokumenty/zk/vstup.odt","C:/Documents and Settings/rajdl/Dokumenty/zk/vystupek.odt")

and the console output was:

 Setting wd to
C:\DOCUME~1\rajdl\LOCALS~1\Temp\Rtmpfusjrb/odfWeave23103342397   Copying C:/Documents and Settings/rajdl/Dokumenty/zk/vstup.odt   Decompressing ODF file using unzip -o "vstup.odt"  

  Removing vstup.odt
  Creating a Pictures directory
  adding font declarations...  

  Looking for style information in styles.xml   Splitting file around <office:styles> at line 7806  

  adding font declarations...  

  Looking for style information in content.xml   Splitting file around <office:automatic-styles> at line 2842  

   Regular Expression: Sexpr
  Regular Expression: <<>>
  Regular Expression: SweaveOpts  

  Sweave tags found in: content.xml
  Removing xml around <<>>= for content.xml   Writing content.xml to content.Rnw  

  Removing content.xml
  Sweaving content.Rnw  

  Writing to file content.xml
  Processing code chunks ...
    1 : echo term xml(label=irisTable)  

  'content.xml' has been Sweaved
  Removing content.Rnw  

  Packaging file using zip -r "vstup.odt" . Error in odfWeave("C:/Documents and
Settings/rajdl/Dokumenty/zk/vstup.odt", :

        vstup.odt does not exist
In addition: Warning message:
incomplete final line found by readLines on 'content.Rnw'

I use R.2.4.0, odfWeave 0.4.8., Windows XP and I have copied zip.exe and unzip.exe (from http://www.murdoch-sutherland.com/Rtools/tools.zip ) to /bin directory in installation directory of R. I suppose that the input file (vstup.odt) exists and is recognized by R if it is unzipped in the begining. Can anyone help me? Best regards,
Dan Rajdl <http://biochemik.ic.cz/>  

        [[alternative HTML version deleted]]

R-help@stat.math.ethz.ch 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. Received on Tue Jan 23 21:57:14 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 23 Jan 2007 - 11:30:28 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.