[R] Fonts do not display properly in R 2.5.1 on Red HatEnterprise Linux 4
michael watson (IAH-C)
michael.watson at bbsrc.ac.uk
Mon Oct 15 15:49:51 CEST 2007
OK, tried google, got very, very lost. There are lots of different
packages out there.
Can anyone tell me where I can download the "Unicode X11 (meta-)fonts"
for Red Hat that R needs?
-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
On Behalf Of michael watson (IAH-C)
Sent: 15 October 2007 14:43
To: Prof Brian Ripley
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] Fonts do not display properly in R 2.5.1 on Red
HatEnterprise Linux 4
Thank you Brian, setting the locale using.
Sys.setlocale("LC_CTYPE","en_GB")
Meant that my test plot command worked fine.
Will now install Unicode X11 fonts
-----Original Message-----
From: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk]
Sent: 15 October 2007 14:12
To: michael watson (IAH-C)
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] Fonts do not display properly in R 2.5.1 on Red Hat
Enterprise Linux 4
This looks like what happens when you use a UTF-8 locale and don't have
Unicode X11 (meta-)fonts installed. Try running in LC_CTYPE=en_GB: if
that works you will both have a workaround and know where to look for a
solution.
On Mon, 15 Oct 2007, michael watson (IAH-C) wrote:
> Dear All
>
> I posted a similar question quite some time ago, but that was on an
old
> OS and an old version of R. This time I have RHEL 4, which is still
> supported as an OS, and R 2.5.1 which is not *that* old.
>
> My sessionInfo() gives:
>
>> sessionInfo()
> R version 2.5.1 (2007-06-27)
> i686-redhat-linux-gnu
>
> locale:
>
LC_CTYPE=en_GB.UTF-8;LC_NUMERIC=C;LC_TIME=en_GB.UTF-8;LC_COLLATE=en_GB.U
>
TF-8;LC_MONETARY=en_GB.UTF-8;LC_MESSAGES=en_GB.UTF-8;LC_PAPER=en_GB.UTF-
>
8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_GB.UTF-8;LC_ID
> ENTIFICATION=C
>
> attached base packages:
> [1] "stats" "graphics" "grDevices" "utils" "datasets"
> "methods"
> [7] "base"
>
> other attached packages:
> DetectiV
> "1.1"
>
>> plot(1:10,1:10)
>
> Results can be seen here:
> http://detectiv.sourceforge.net/out.jpg
>
> I suspect I do not have the right fonts installed that R uses by
> default....
>
> Any ideas?
>
> Thanks
> Mick
>
> The information contained in this message may be
confide...{{dropped:14}}
>
> ______________________________________________
> 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.
>
--
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
______________________________________________
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