michael watson (IAH-C)
2007-Oct-15 12:58 UTC
[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}}
Prof Brian Ripley
2007-Oct-15 13:11 UTC
[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}}
Reasonably Related Threads
- Error: X11 cannot allocate additional graphics colours.
- RSQLite and undefined symbol:sqlite3_bind_in
- Including data when building an R package in windows
- Fonts do not display properly on Red Hat
- ISOdate/ISOdatetime performance suggestions, other date/time questions