On 31/01/2013 21:15, MacQueen, Don wrote:
Something like this might help:
Sys.setlocale(category = "LC_ALL", locale = "C")
check
Sys.getlocale()
beforehand.
-Don
As others have said, use options(fancyQuotes=FALSE). Please don't
change all the locale settings just because of Microsoft's bugs.
But really the problem is Word. UTF-8 is the standard encoding for OS
X, and Word should be defaulting to it (and not Mac Roman). Looks like
Word cannot recognize a UTF-8 file (which might be because MS seems to
think they have BOMs, which the standard permits but does not require).
And although Word 2008 is rather old, Word 2011 shows the same bug.
--
Brian D. Ripley, [email protected]
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac