[R] Ubuntu Linux and X11

Oleg Sklyar osklyar at ebi.ac.uk
Sat Feb 17 12:23:00 CET 2007


The problem occurs after updating from Dapper to Edgy. Dapper had font 
paths: /usr/share/X11/fonts and Edgy, to make the whole font system 
unified, moved X11 fonts to /usr/share/fonts/X11. Oleg

Yuelin Li wrote:
> If you are using edgy, try changing your FontPath settings in
> /etc/X11/xorg.conf (mine listed below).
> 
> Reboot, and check to see there are no warnings about missing font
> files in /var/log/Xorg.0.log.
> 
> Yuelin.
> 
> 
> 
> Section "Files"
>         FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
>         FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
>         FontPath        "/usr/share/fonts/X11/Type1"
>         FontPath        "/usr/share/fonts/X11/100dpi"
>         FontPath        "/usr/share/fonts/X11/75dpi"
>         FontPath        "/usr/share/fonts/X11/TTF"
>         FontPath        "/usr/share/fonts/X11/OTF"
>         FontPath        "/usr/share/fonts/X11/CID"
>         FontPath        "/usr/share/fonts/X11/misc"
>         # path to defoma fonts
>         FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
> EndSection
> 
> 
> On Fri, Feb 16, 2007 at 05:05:35PM -0600, Dirk Eddelbuettel wrote:
>    On Fri, Feb 16, 2007 at 09:53:39PM +0100, preuth at slf.ch wrote:
>    > i have a problem with creating histograms and plots under ubuntu linux.
>    > After creating a vector "test" i want to make a histogram, but the following
>    > error appears:
>    > > hist (test)
>    > Error in X11() : could not find any X11 fonts
>    > Check that the Font Path is correct.
>    > 
>    > 
>    > Does anybody know this problem and a solution for this?
>    
>    Hm, you didn't by chance built this yourself and thereby ignored the
>    BIG FAT warnings about x11 headers not being found ?   
>    
>    Take a shortcut, install the (backported) Ubuntu packages from any
>    of the CRAN mirrors and then sit back and enjoy a nice hist() chart?
>    
>    Dirk
>    
>    -- 
>    Hell, there are no rules here - we're trying to accomplish something. 
>                                                      -- Thomas A. Edison
>    
>    ______________________________________________
>    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.
>    
> 
>  
>      =====================================================================
>      
>      Please note that this e-mail and any files transmitted with it may be 
>      privileged, confidential, and protected from disclosure under 
>      applicable law. If the reader of this message is not the intended 
>      recipient, or an employee or agent responsible for delivering this 
>      message to the intended recipient, you are hereby notified that any 
>      reading, dissemination, distribution, copying, or other use of this 
>      communication or any of its attachments is strictly prohibited.  If 
>      you have received this communication in error, please notify the 
>      sender immediately by replying to this message and deleting this 
>      message, any attachments, and all copies and backups from your 
>      computer.
> 
> ______________________________________________
> 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.

-- 
Dr Oleg Sklyar | EBI-EMBL, Cambridge CB10 1SD, UK | +44-1223-494466



More information about the R-help mailing list