[R] Font in JavaGD() & pdf()

Prof Brian Ripley ripley at stats.ox.ac.uk
Sat Mar 17 09:59:05 CET 2007


what do you mean by 'send the figure to pdf'?

My guess is that this is a Mac-specific question (e.g. you are using the 
R.app GUI), so please consider if this is the appropriate list.

On Fri, 16 Mar 2007, Kubovy Michael wrote:

> Dear r-helpers,
>
> When I do an xYplot and display the result in a JavaGD() window, the
> font is sans-serif (presumably Helvetica). When I send the figure to
> a pdf, I get a serif font (presumably times). How do I insure that
> the font in the pdf is indeed the default sans serif?
>
> > sessionInfo()
> R version 2.4.1 (2006-12-18)
> i386-apple-darwin8.8.1
>
> locale:
> C
>
> attached base packages:
> [1] "grid"      "datasets"  "stats"     "graphics"  "grDevices"
> "utils"     "methods"   "base"
>
> other attached packages:
>         coda      gmodels         lme4       Matrix           HH
> multcomp      mvtnorm          vcd
>     "0.10-7"     "2.13.1"  "0.9975-13"  "0.9975-11"     "1.18-1"
> "0.991-8"      "0.7-5"      "1.0-2"
>   colorspace        Hmisc       xtable latticeExtra      lattice
> gridBase         MASS          JGR
>       "0.95"      "3.2-1"      "1.4-3"      "0.1-4"
> "0.14-16"      "0.4-3"     "7.2-32"     "1.4-15"
>       iplots       JavaGD        rJava
>      "1.0-5"      "0.3-6"     "0.4-14"
>
>
>
> _____________________________
> Professor Michael Kubovy
> University of Virginia
> Department of Psychology
> USPS:     P.O.Box 400400    Charlottesville, VA 22904-4400
> Parcels:    Room 102        Gilmer Hall
>         McCormick Road    Charlottesville, VA 22903
> Office:    B011    +1-434-982-4729
> Lab:        B019    +1-434-982-4751
> Fax:        +1-434-982-4766
> WWW:    http://www.people.virginia.edu/~mk9y/
>
>
>
> 	[[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.
>

-- 
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