Hello, I am an italian student, who is trying to use R 2.3.1 with Ubuntu 6.10 (last version). When I try to use the plot command, I get the error: "could not find any X11 fonts Check that the Font Path is correct" How can I solve this problem? Thank you very much Davide [[alternative HTML version deleted]]
oscar.moreno at verizon.net
2006-Nov-10 16:28 UTC
[R] Problems with plot and X11 in ubuntu
A few questions before I may help. Is this a NEW installation or an upgrade? If an upgrade, what version are you upgrading from? Regards, Oscar>From: Bagatti Davide <bagatti.davide at gmail.com> >Date: 2006/11/10 Fri AM 09:22:24 CST >To: r-help at stat.math.ethz.ch >Subject: [R] Problems with plot and X11 in ubuntu>Hello, > >I am an italian student, who is trying to use R 2.3.1 with Ubuntu 6.10 (last >version). When I try to use the plot command, I get the error: > >"could not find any X11 fonts Check that the Font Path is correct" > >How can I solve this problem? > >Thank you very much > >Davide > > [[alternative HTML version deleted]] > >______________________________________________ >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 >and provide commented, minimal, self-contained, reproducible code.
Davide, It looks to be an issue in the /etc/X11/xorg.conf file of Edgy. The paths to the X11 fonts are wrong, you've got to change them to the right one. I'm not in my Ubuntu box, but I think the part of the Font paths should have been /usr/share/fonts/X11 and it was /usr/share/X11/fonts in the config file. Change those occurrences in the config file, reboot and that should fix it. Just encountered that last night or early mornng I should say :-). Regards, Mon On 11/10/06, Bagatti Davide <bagatti.davide@gmail.com> wrote:> > Hello, > > I am an italian student, who is trying to use R 2.3.1 with Ubuntu 6.10(last > version). When I try to use the plot command, I get the error: > > "could not find any X11 fonts Check that the Font Path is correct" > > How can I solve this problem? > > Thank you very much > > Davide > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@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 > and provide commented, minimal, self-contained, reproducible code. >[[alternative HTML version deleted]]
> Change those occurrences in the config file, reboot and that should fix it.Why reboot? Rebuilding the font-cache and restart X is *largely* enough! Marco
Take a look at this link: http://www.ubuntuforums.org/showthread.php?t=268024 HTH Oscar On Nov 11, 2006, at 04:19, Bagatti Davide wrote:> About Ubuntu, it's a new installation (ubuntu 6.10, code name Edgy > Eft). About R, it's a new installation. > > Thank you very much > > > 2006/11/10, oscar.moreno@verizon.net <oscar.moreno@verizon.net>: > A few questions before I may help. > > Is this a NEW installation or an upgrade? > If an upgrade, what version are you upgrading from? > > Regards, > > Oscar > > >From: Bagatti Davide <bagatti.davide@gmail.com> > >Date: 2006/11/10 Fri AM 09:22:24 CST > >To: r-help@stat.math.ethz.ch > >Subject: [R] Problems with plot and X11 in ubuntu > > >Hello, > > > >I am an italian student, who is trying to use R 2.3.1 with Ubuntu > 6.10 (last > >version). When I try to use the plot command, I get the error: > > > >"could not find any X11 fonts Check that the Font Path is correct" > > > >How can I solve this problem? > > > >Thank you very much > > > >Davide > > > > [[alternative HTML version deleted]] > > > >______________________________________________ > >R-help@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 > >and provide commented, minimal, self-contained, reproducible code. > >[[alternative HTML version deleted]]