[R] Errors when trying to open odfWeave documents

Paul paul at paulhurley.co.uk
Fri May 7 22:26:49 CEST 2010


Max Kuhn wrote:
> Can you send the rest of the sessionInfo() results? I'd like to see your locale.
>
> Thanks,
>
> Max
>
>
>   
Hi Max,

I've put the locale info below.  I wanted to let you know that I tried 
some things again today, starting from scratch, and found that if I just 
ran the odfWeave command, my files were readable, but after I ran the 
lines from the formatting.R file they gave the error.

I eventually tracked the problem down to the line ;
 basicStyles$wideBullet$bulletChar="\342\234\224"
causes the outputs to give the error.  If I comment it out everything 
works fine.  I assume that this is a problem with the fonts available on 
my system ?  That if the symbol referenced by \342\234\224 isn't 
available then the file ends badly ?

Let me know if you have any other ideas, but otherwise, thanks hugely 
for the odfWeave package, it's probably saved R from not being used at 
all at my work (top ten Pharma).

Here's the locale info, Regards, Paul.

 > sessionInfo()
R version 2.10.1 (2009-12-14)
i386-pc-mingw32

locale:
[1] LC_COLLATE=English_United Kingdom.1252  LC_CTYPE=English_United 
Kingdom.1252    LC_MONETARY=English_United Kingdom.1252
[4] LC_NUMERIC=C                            LC_TIME=English_United 
Kingdom.1252   

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base    

other attached packages:
[1] odfWeave_0.7.11 XML_2.8-1       lattice_0.18-3

loaded via a namespace (and not attached):
[1] grid_2.10.1  tools_2.10.1
 > Sys.getlocale()
[1] "LC_COLLATE=English_United Kingdom.1252;LC_CTYPE=English_United 
Kingdom.1252;LC_MONETARY=English_United 
Kingdom.1252;LC_NUMERIC=C;LC_TIME=English_United Kingdom.1252"



More information about the R-help mailing list