[R] Postscript output encoding on Windows

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Jun 9 18:28:19 CEST 2006


It is WinAnsi, not WinAsci, and that may well be your problem. Vanilla R 
2.3.1 uses WinAnsi (I have just re-checked), so there is `something 
strange about my installation'.

On Fri, 9 Jun 2006, Jamie Lawrence wrote:

> With R 2.3.1 on Windows, I've noticed that it defaults to the
> "WinAsci.enc" encoding, which throws up an error when viewed with the
> default install of GhostScript/GSView (versions 8.51/4.7 respectively).
> I didn't have this problem prior to upgrading to 2.3.1 as I can view all
> my old PS graphs and they don't have the WinAsci encoding.  I've got
> around this problem by adding encoding="CP1251.enc" to the postscript
> call but it seems a little bizarre that the default WinAsci wasn't
> working.
>
> Any ideas what the problem might be?  A problem with Ghostscript, a bug
> in R, or something strange about my installation (there shouldn't be)??
> Should WinAsci be the default?
>
> Thanks,
>
>    Jamie
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
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



More information about the R-help mailing list