[R] X11 font -adobe-helvetica size 15 could not be loaded
Prof Brian Ripley
ripley at stats.ox.ac.uk
Fri Apr 5 06:26:01 CEST 2013
See ?X11 and the 'R Installation and Administration Manual'.
You are dragging up ancient history (2002). The 'modern' X11 device
(from 2007) uses cairographics and does not use X11 fonts. I suggest
you take a look at how R was built and ensure that the cairo-based
device is available.
Further, for a long time most X11 installations have been from Xorg and
not Xfree86, and do not generally have a config file.
On 04/04/2013 22:02, Lisa Daniel wrote:
> HI All,
>
> I got this Error message, when I tried to plot
> X11 font -adobe-helvetica-%s-%s-*-*-%d-*-*-*-*-*-*-*, face 5 at size 15 could not be loaded
>
>
> sessionInfo()
> R version 3.0.0 (2013-04-03)
> Platform: x86_64-unknown-linux-gnu (64-bit)
>
> locale:
> [1] LC_CTYPE=en_CA.UTF-8 LC_NUMERIC=C
> [3] LC_TIME=en_CA.UTF-8 LC_COLLATE=en_CA.UTF-8
> [5] LC_MONETARY=en_CA.UTF-8 LC_MESSAGES=en_CA.UTF-8
> [7] LC_PAPER=C LC_NAME=C
> [9] LC_ADDRESS=C LC_TELEPHONE=C
> [11] LC_MEASUREMENT=en_CA.UTF-8 LC_IDENTIFICATION=C
>
> attached base packages:
> [1] stats graphics grDevices utils datasets methods base
>
> other attached packages:
> [1] stringr_0.6.2 reshape2_1.2.2
>
> loaded via a namespace (and not attached):
> [1] plyr_1.8 tools_3.0.0
>
>
> I looked online for a solution.and found this (https://stat.ethz.ch/pipermail/r-help/2002-June/022116.html). But,
>
> /etc/X11 $ ls
> app-defaults rgb.txt xkb Xresources Xsession.options
> default-display-manager X Xreset Xsession XvMCConfig
> fonts xinit Xreset.d Xsession.d Xwrapper.config
>
> doesn't have XF86Config
>
> capabilities("X11")
> X11
> TRUE
> names(X11Fonts())
> [1] "serif" "sans" "mono" "Times" "Helvetica"
> [6] "CyrTimes" "CyrHelvetica" "Arial" "Mincho"
>
>
> Then, I installed xfonts-100dpi, xfonts-75dpi (Ubuntu-based).
> xset -q #output
>
>
> Font Path:
> /usr/share/fonts/X11/misc,/usr/share/fonts/X11/Type1,built-ins
> Regards,
> Lisa.
>
> ______________________________________________
> 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.
>
--
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
More information about the R-help
mailing list