Hi, I'm using plot.lda (R1.4.0 on linux) and, if dimen > 2, I get the error: Error in text.default(x, y, txt, cex = cex, font = font) : X11 font at size 16 could not be loaded The traceback indicates that the problem comes from pairs(). I've tried several cex and font values, always with the same error. The same command works fine with pdf() If I'm missing fonts, how could I find out which one is missing? I have fonts such as: /usr/X11R6/lib/X11/fonts/75dpi/charB08.pcf.gz Thanks Agus Dr. Agustin Lobo Instituto de Ciencias de la Tierra (CSIC) Lluis Sole Sabaris s/n 08028 Barcelona SPAIN tel 34 93409 5410 fax 34 93411 0012 alobo at ija.csic.es -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
I think the problem comes from your X server (my wild guess is that you tried Xfree4.something) The modifications posted some time ago on this list seem to work (in reply to the very same problem) still... In your file /usr/X11R6/XFree86config, you will discard the "unscaled" statements in the 'fonts' section (make a backup of XFree86Config before experimenting) Hopin' it helps, Laurent On Tue, Jun 04, 2002 at 02:08:56PM +0200, Agustin Lobo wrote:> > Hi, > > I'm using plot.lda (R1.4.0 on linux) and, > if dimen > 2, I get the error: > Error in text.default(x, y, txt, cex = cex, font = font) : > X11 font at size 16 could not be loaded > > The traceback indicates that the problem > comes from pairs(). I've tried several > cex and font values, always with the > same error. > > The same command works fine with pdf() > > If I'm missing fonts, how could I find out > which one is missing? I have fonts such as: > /usr/X11R6/lib/X11/fonts/75dpi/charB08.pcf.gz > > Thanks > > Agus > > Dr. Agustin Lobo > Instituto de Ciencias de la Tierra (CSIC) > Lluis Sole Sabaris s/n > 08028 Barcelona SPAIN > tel 34 93409 5410 > fax 34 93411 0012 > alobo at ija.csic.es > > > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html > Send "info", "help", or "[un]subscribe" > (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Wed, Jun 05, 2002 at 10:26:50AM +0200, Agustin Lobo wrote:> > On Tue, 4 Jun 2002, Laurent Gautier wrote: > > > > > The modifications posted some time ago on this list seem to > > work (in reply to the very same problem) still... > > Any clue on th subject, author or date of that message? > I did search the archive for x11 and font prior to > send my message and could not find anything.sure... here is a hint http://www.google.com/search?hl=en&q=X11+font+at+size+16+could+not+be+loaded&btnG=Google+Search ;) L.> > Thanks > > Agus >-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Tue, 4 Jun 2002, Laurent Gautier wrote:> > The modifications posted some time ago on this list seem to > work (in reply to the very same problem) still...Any clue on th subject, author or date of that message? I did search the archive for x11 and font prior to send my message and could not find anything. Thanks Agus -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Thanks, I had searched the 2002 and 2001 archives, your "some time ago" was quite a time ago. The problem was solved by adding FontPath "/usr/X11R6/lib/X11/fonts/75dpi" FontPath "/usr/X11R6/lib/X11/fonts/100dpi" to /etc/X11/XF86Config (I had the unscaled versions: FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled" ) The hard point here has been relating the error message in R to the Helvetica fonts and the Helvetica fonts to the above Font paths. Might it be to consider that the R installation program check for the presence of these font paths in XF86Config ? Or perhaps a note in the Rinstall guide? Agus Dr. Agustin Lobo Instituto de Ciencias de la Tierra (CSIC) Lluis Sole Sabaris s/n 08028 Barcelona SPAIN tel 34 93409 5410 fax 34 93411 0012 alobo at ija.csic.es On Wed, 5 Jun 2002, Laurent Gautier wrote:> On Wed, Jun 05, 2002 at 10:26:50AM +0200, Agustin Lobo wrote: > > > > On Tue, 4 Jun 2002, Laurent Gautier wrote: > > > > > > > > The modifications posted some time ago on this list seem to > > > work (in reply to the very same problem) still... > > > > Any clue on th subject, author or date of that message? > > I did search the archive for x11 and font prior to > > send my message and could not find anything. > > sure... > > > here is a hint > > http://www.google.com/search?hl=en&q=X11+font+at+size+16+could+not+be+loaded&btnG=Google+Search > > > ;) > > > > L. > > > > > > > Thanks > > > > Agus > > > >-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._