[Rd] possible bug: dev.copy / could not find any X11 fonts

R. Villegas villegas.ro at gmail.com
Thu Feb 8 11:24:57 CET 2007


2007/1/31, Tamas K Papp <tpapp at princeton.edu>:
> Hi,
>
> I am experiencing something strange, and thought I would ask before
> reporting a bug.  I trimmed it down to a self-contained example,
> attached as an R file.  The purpose of the functions is to save the
> plots into a ps file and simultaneously plot them on an x11 device,
> but don't open a new one if there is already one opened (I don't want
> the repositioning / flicker).
>
> When running the code:
>
> > source("plotf.r")
> > plotf(avc,1)
> Error in dev.copy(which = x11dev) : could not find any X11 fonts
> Check that the Font Path is correct.
>
> The error message reappears whenever I switch to the plot window.  A
> partial plot is in the x11 window.
>
> When called in other contexts, plotting functions work perfectly, so I
> don't see what the problem is.
>
> Thanks,
>
> Tamas
>
>
> version information:
>                _
> platform       i486-pc-linux-gnu
> arch           i486
> os             linux-gnu
> system         i486, linux-gnu
> status
> major          2
> minor          4.1
> year           2006
> month          12
> day            18
> svn rev        40228
> language       R
> version.string R version 2.4.1 (2006-12-18)
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>
>

I see this error last time in Ubuntu Edgy. Check your FontPath in
/etc/X11/xorg.conf.



More information about the R-devel mailing list