[R] odfWeave

Uwe Ligges ligges at statistik.tu-dortmund.de
Sun Dec 18 16:23:24 CET 2011


Please never ever double/triple post the same questions.

For the archive, the answer to the other instance of this question was:

"Please report (if you want to speed things up including a patch) to the 
package maintainer. This package currently does not pass the check under 
Windows (at least not in non UTF-8 locales)."

Best,
Uwe Ligges




On 16.12.2011 17:11, Frank Lawrence wrote:
> I am new to using odfWeave but I have encountered a problem running both
> the example in the help file as well as another file.  I am not sure how to
> correct the error.
>
>
>
> First example:
>
> library(odfWeave)
>
> filein<- 'c:\\my documents\\example01_in.odt'
>
> fileout<- 'c:\\my documents\\example01.odt'
>
> odfWeave(filein, fileout, control = odfWeaveControl(cleanup = T))
>
>
>
> error:
>
> The system cannot find the path specified.
>
> The system cannot find the drive specified.
>
> Error: content.xml  does not seem to be XML, nor to identify a file name
>
>
>
> log
>
>> odfWeave(filein, fileout, control = odfWeaveControl(cleanup = T))
>
>    Copying  c:\my documents\example01_in.odt
>
>    Setting wd to  c:\temp\RtmpEhxqNx/odfWeave16110543541
>
>    Unzipping ODF file using unzip -o "example01_in.odt"
>
>
>
> c:\temp\RtmpEhxqNx\odfWeave16110543541>n:\reflect\tel-mgr /u
>
>
>
> c:\temp\RtmpEhxqNx\odfWeave16110543541>h:
>
>
>
> c:\temp\RtmpEhxqNx\odfWeave16110543541>cd \
>
>
>
>    Removing  example01_in.odt
>
>    Creating a Pictures directory
>
>
>
>> Sys.info()
>
>                       sysname                      release
>
>                     "Windows"                         "XP"
>
>                       version                     nodename
>
> "build 2600, Service Pack 3"                 "OFPC5ZL4K1"
>
>                       machine                        login
>
>                         "x86"                   "flawren1"
>
>                          user               effective_user
>
>                    "flawren1"                   "flawren1"
>
>
>
>> sessionInfo()
>
> R version 2.14.0 (2011-10-31)
>
> Platform: i386-pc-mingw32/i386 (32-bit)
>
>
>
> locale:
>
> [1] LC_COLLATE=English_United States.1252
>
> [2] LC_CTYPE=English_United States.1252
>
> [3] LC_MONETARY=English_United States.1252
>
> [4] LC_NUMERIC=C
>
> [5] LC_TIME=English_United States.1252
>
>
>
> attached base packages:
>
> [1] grDevices datasets  splines   graphics  stats     tcltk     utils
>
> [8] methods   base
>
>
>
> other attached packages:
>
> [1] odfWeave_0.7.17  XML_3.4-2.2      lattice_0.20-0   svSocket_0.9-51
>
> [5] TinnR_1.0.3      R2HTML_2.2       Hmisc_3.8-3      survival_2.36-10
>
>
>
> loaded via a namespace (and not attached):
>
> [1] cluster_1.14.1 grid_2.14.0    svMisc_0.9-63  tools_2.14.0
>
> Second Example:
> demoFile<- system.file("examples", "simple.odt", package = "odfWeave")
> outputFile<- gsub("simple.odt", "output.odt", demoFile)
> odfWeave(demoFile, outputFile)
>
> Same error; same session info
>
> Respectfully,
>
> Frank Lawrence
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> 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.



More information about the R-help mailing list