[R] Some problems with X11

Rafael Rosolem rosolem at gmail.com
Thu Mar 8 17:44:17 CET 2007


Yuelin Li and Joerg van den Hoff,

Thank you very much for your emails. Apparently, I found that xorg.conf 
has all the directories related to fonts specified as 
/usr/share/X11/fonts/. However, the files are located in 
/usr/share/fonts/X11/. I manually changed the paths for each line and 
tried R again. It is now working!

Thanks a lot

R

Yuelin Li wrote:
> Since you are running Ubuntu Edgy, you might want look at the "Files"
> section in your /etc/X11/xorg.conf file.  Perhaps R is looking for
> fonts not available to the X windows system.  You can compare the
> "Files" sections between your laptop and desktop.  My font path
> settings are attached.
> 
> 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
> 
> 
> -- Joerg van den Hoff wrote --|Thu (Mar/08/2007)[10:18]|--:
>    
>    in `R', getOpton("X11fonts") tells you which font family `X11()' is using by
>    default (but you can alter this in the `X11' call if need be) and the size 8
>    subtype seems to be missing.
>    
>    you may compare the above with the output from `xlsfonts' in the unix shell,
>    or use `xfontsel' to browse interactively through the installed fonts
>    to verify whether `R's complaining is justified.
>    
>    probable solution: use some existing sufficiently complete (different sizes)
>    font-family  in the `X11()' call or copy over the default fonts from the labtop
>    where it works.
>    
>    hth,
>    joerg
> 
>  
>      =====================================================================
>      
>      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.
> 
>



More information about the R-help mailing list