[R] font path problem in Ubuntu

From: Tae-Hoon Chung <hoontaechung_at_gmail.com>
Date: Mon, 14 Jun 2010 12:00:31 +0800


I am not exactly sure whether this is the right place to ask this but I hope this might be relevant to some other users of ubuntu linux as well. I've installed R-2.11.1 in my ubuntu 10.04 LTS. When I tried to generate a simple plot, however, it crashed:

> plot(rnorm(100))
Error in axis(side = side, at = at, labels = labels, ...) : could not find any X11 fonts
Check that the Font Path is correct.
In addition: Warning messages:
1: In function (display = "", width, height, pointsize, gamma, bg, : locale not supported by Xlib: some X ops will operate in C locale 2: In function (display = "", width, height, pointsize, gamma, bg, : X cannot set locale modifiers
> sessionInfo()
R version 2.11.1 (2010-05-31)
i686-pc-linux-gnu

locale:
[1] LC_CTYPE=en_SG.utf8 LC_NUMERIC=C
[3] LC_TIME=en_SG.utf8 LC_COLLATE=en_SG.utf8
[5] LC_MONETARY=C LC_MESSAGES=en_SG.utf8
[7] LC_PAPER=en_SG.utf8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_SG.utf8 LC_IDENTIFICATION=C

attached base packages:
[1] stats graphics grDevices utils datasets methods base

It seems like this is due to genuine font path problem in Ubuntu (and so has nothing to do with R itself) but I'm just asking if anyone was able to solve this problem.
When I googled the "font path in ubuntu", it produced some suggestions regarding xorg.conf but following them didn't solve the problem for me. Any ideas?dlgmlwj

Thanks in advance,
TH

-- 
Tae-Hoon Chung, PhD

	[[alternative HTML version deleted]]

______________________________________________
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.
Received on Mon 14 Jun 2010 - 04:03:35 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 14 Jun 2010 - 06:50:29 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive