[R] Fonts do not display properly in R 2.5.1 on Red Hat Enterprise Linux 4
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@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.
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 confi...{{dropped:16}} __ R-help@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.
Re: [R] Fonts do not display properly in R 2.5.1 on Red Hat Enterprise 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:[EMAIL PROTECTED] Sent: 15 October 2007 14:12 To: michael watson (IAH-C) Cc: [EMAIL PROTECTED] 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@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, [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, UKFax: +44 1865 272595 __ R-help@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.