Re: [R] Errors when trying to open odfWeave documents

From: Max Kuhn <>
Date: Fri, 07 May 2010 16:40:56 -0400


That line defines the bullet character. I don't think that you'll be missing much by excluding it.

I think that to avoid these issues, you should use a utf-8 locale. The one that I get in my sessions is:

[1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8

I'm sure that there are UK locales that would work.

xml tends to be defined in terms of utf8 character sets (at least I see those characters a lot in xml files), so this might be a good idea for you to do. How to do it is beyond me.


On Fri, May 7, 2010 at 4:26 PM, Paul <> wrote:
> 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"



______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Fri 07 May 2010 - 20:44:07 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 07 May 2010 - 21:10:19 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive