[R] Error in odfWeave

Rajdl Daniel
Tue, 23 Jan 2007 10:52:43 -0000

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]]