Hi, I have just noticed the following problem with R2.1.0 running on SuSE 9.1, [However, version 2.0.1 (2004-11-15) on the same machine works Okay]: -------------------------------------------------------------------------> hist(rnorm(100))Error in title(main = main, sub = sub, xlab = xlab, ylab = ylab, ...) : X11 font at size 14 could not be loaded> version_ platform i686-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu status Patched major 2 minor 1.0 year 2005 month 04 day 20 language R ------------------------------------------------------------------------- Any insight? Thanks, Xiang-Jun
Patrick Connolly
2005-Apr-28 21:49 UTC
[R] R2.1.0: X11 font at size 14 could not be loaded
On Thu, 28-Apr-2005 at 05:25PM -0400, Xiang-Jun Lu wrote: |> Hi, |> |> I have just noticed the following problem with R2.1.0 running on SuSE 9.1, |> [However, version 2.0.1 (2004-11-15) on the same machine works Okay]: |> |> ------------------------------------------------------------------------- |> >hist(rnorm(100)) |> Error in title(main = main, sub = sub, xlab = xlab, ylab = ylab, ...) : |> X11 font at size 14 could not be loaded |> >version |> _ |> platform i686-pc-linux-gnu |> arch i686 |> os linux-gnu |> system i686, linux-gnu |> status Patched |> major 2 |> minor 1.0 |> year 2005 |> month 04 |> day 20 |> language R |> ------------------------------------------------------------------------- |> |> Any insight? Works fine with mine.> version_ platform i686-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu status major 2 minor 1.0 year 2005 month 04 day 18 language R>Something to do with the patch, perhaps? -- Patrick Connolly HortResearch Mt Albert Auckland New Zealand Ph: +64-9 815 4200 x 7188 ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~ I have the world`s largest collection of seashells. I keep it on all the beaches of the world ... Perhaps you`ve seen it. ---Steven Wright ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~
Xiang-Jun Lu <xl2134 at columbia.edu> writes:> Hi, > > I have just noticed the following problem with R2.1.0 running on SuSE > 9.1, [However, version 2.0.1 (2004-11-15) on the same machine works > Okay]: > ------------------------------------------------------------------------- > > hist(rnorm(100)) > Error in title(main = main, sub = sub, xlab = xlab, ylab = ylab, ...) : > X11 font at size 14 could not be loadedHaven't seen this on SuSE in the testing phase... Are you running in a non-English locale by any chance? That type of error usually means that you are missing 75 dpi fonts or 100 dpi fonts in the standard Adobe set. However, if it isn't happening in 2.0.1, I'd suspect that UTF8 codes and/or natural language support is somehow involved. -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
Prof Brian Ripley
2005-Apr-29 06:12 UTC
[R] R2.1.0: X11 font at size 14 could not be loaded
On Fri, 29 Apr 2005, Patrick Connolly wrote:> On Thu, 28-Apr-2005 at 05:25PM -0400, Xiang-Jun Lu wrote: > > |> Hi, > |> > |> I have just noticed the following problem with R2.1.0 running on SuSE 9.1, > |> [However, version 2.0.1 (2004-11-15) on the same machine works Okay]: > |> > |> ------------------------------------------------------------------------- > |> >hist(rnorm(100)) > |> Error in title(main = main, sub = sub, xlab = xlab, ylab = ylab, ...) : > |> X11 font at size 14 could not be loaded > |> >version > |> _ > |> platform i686-pc-linux-gnu > |> arch i686 > |> os linux-gnu > |> system i686, linux-gnu > |> status Patched > |> major 2 > |> minor 1.0 > |> year 2005 > |> month 04 > |> day 20 > |> language R > |> ------------------------------------------------------------------------- > |> > |> Any insight? > > > Works fine with mine. > >> version > _ > platform i686-pc-linux-gnu > arch i686 > os linux-gnu > system i686, linux-gnu > status > major 2 > minor 1.0 > year 2005 > month 04 > day 18 > language R >> > > Something to do with the patch, perhaps?There is no patch on the X11 device. The dpi of the screen does come into this. It is quite possible that 2.0.1 failed to scale for the screen dpi and so was using the wrong set of fonts (it used 75dpi unless the screen was 100+/-0.5 dpi). So I think PD was correct: this does indicate a problem in the installed fonts: perhaps the 100dpi set is missing. -- Brian D. Ripley, ripley at stats.ox.ac.uk 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, UK Fax: +44 1865 272595
Hi, Many thanks to Prof. Ripley, Peter Dalgaard, and Patrick Connolly for responding to my message. I tried several things, but the problem still exists. [1] I tried Version 2.1.0 (2005-04-18), Version 2.1.0 Patched (2005-04-20), and Version 2.1.0 Patched (2005-04-28) Compiled with/without option --disable-mbcs (and/or --disable-nls), the result is the same: > hist(rnorm(100)) Error in title(main = main, sub = sub, xlab = xlab, ylab = ylab, ...) : X11 font at size 14 could not be loaded Interesting, > plot(rnorm(100)) works just fine. [2] Using YaST, I installed XFree86-fonts-100dpi - 100dpi Bitmaps fonts for X11 which originally was not there, but still have the same error. As stated previously, this error does not occur with R2.0.1 on the same machine. Any clue re what could be wrong with my setting? For my purpose, R2.0.1 is sufficient, but it would be nice to get this problem solved. Thanks and have a good weekend. Xiang-Jun On Fri, 29 Apr 2005, Prof Brian Ripley wrote:> On Fri, 29 Apr 2005, Patrick Connolly wrote: > >> On Thu, 28-Apr-2005 at 05:25PM -0400, Xiang-Jun Lu wrote: >> >> |> Hi, >> |> >> |> I have just noticed the following problem with R2.1.0 running on SuSE >> 9.1, >> |> [However, version 2.0.1 (2004-11-15) on the same machine works Okay]: >> |> >> |> >> ------------------------------------------------------------------------- >> |> >hist(rnorm(100)) >> |> Error in title(main = main, sub = sub, xlab = xlab, ylab = ylab, ...) : >> |> X11 font at size 14 could not be loaded >> |> >version >> |> _ >> |> platform i686-pc-linux-gnu >> |> arch i686 >> |> os linux-gnu >> |> system i686, linux-gnu >> |> status Patched >> |> major 2 >> |> minor 1.0 >> |> year 2005 >> |> month 04 >> |> day 20 >> |> language R >> |> >> ------------------------------------------------------------------------- >> |> >> |> Any insight? >> >> >> Works fine with mine. >> >>> version >> _ >> platform i686-pc-linux-gnu >> arch i686 >> os linux-gnu >> system i686, linux-gnu >> status >> major 2 >> minor 1.0 >> year 2005 >> month 04 >> day 18 >> language R >>> >> >> Something to do with the patch, perhaps? > > There is no patch on the X11 device. > > The dpi of the screen does come into this. It is quite possible that > 2.0.1 failed to scale for the screen dpi and so was using the wrong set of > fonts (it used 75dpi unless the screen was 100+/-0.5 dpi). So I think PD was > correct: this does indicate a problem in the installed fonts: perhaps the > 100dpi set is missing. > > -- > Brian D. Ripley, ripley at stats.ox.ac.uk > 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, UK Fax: +44 1865 272595 >
Prof Brian Ripley
2005-Apr-30 06:02 UTC
[R] R2.1.0: X11 font at size 14 could not be loaded
On Fri, 29 Apr 2005, Xiang-Jun Lu wrote: [...]> As stated previously, this error does not occur with R2.0.1 on the same > machine. Any clue re what could be wrong with my setting? For my purpose, > R2.0.1 is sufficient, but it would be nice to get this problem solved.We have already explained that 2.0.1 was not using the correct font size, and that this is a problem with your X11 setup: probably your 100dpi set is not yet functional and you need to tell your X server to use it (possibly rebooting will suffice, or you may need to alter a configuration file). -- Brian D. Ripley, ripley at stats.ox.ac.uk 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, UK Fax: +44 1865 272595