Re: [R] Ubuntu Linux and X11

2007-02-19 Thread Barry Rowlingson
Oleg Sklyar wrote:
 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

  I think I changed the font path in the X config file *and* added a 
symlink of /usr/share/X11/fonts to point to /usr/share/fonts/X11 in case 
any other package had this coded into it.

Barry

__
R-help@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.


Re: [R] Ubuntu Linux and X11

2007-02-17 Thread Oleg Sklyar
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, [EMAIL PROTECTED] 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@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@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

__
R-help@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.


Re: [R] Ubuntu Linux and X11

2007-02-17 Thread Oleg Sklyar
 Good point.  But on my systems , the upgrade only affected Emacs which
 'looked ugly' but still worked.  In other words, nothing failed after the
After I updated to Edgy 'convert' of ImageMagick stopped working as well 
as its 'display' API command and also nedit stopped functioning -- all 
because of X11 fonts. And in fact, I now recall that I had for while no 
test in my R plots, I thought some R options were set wrongly. But 
correcting the paths in xorg.conf solved all these issues.

Oleg


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

__
R-help@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.


Re: [R] Ubuntu Linux and X11

2007-02-17 Thread preuth
Well after installing a debian package of the cran mirors and reconfiguning the
xorg.conf as yuelin li suggested the hist() and other graphical commands now
work properly.
Thanks to the fruitful contributions.
Thomas

Quoting Oleg Sklyar [EMAIL PROTECTED]:

  Good point.  But on my systems , the upgrade only affected Emacs which
  'looked ugly' but still worked.  In other words, nothing failed after
 the
 After I updated to Edgy 'convert' of ImageMagick stopped working as well 
 as its 'display' API command and also nedit stopped functioning -- all 
 because of X11 fonts. And in fact, I now recall that I had for while no 
 test in my R plots, I thought some R options were set wrongly. But 
 correcting the paths in xorg.conf solved all these issues.
 
 Oleg
 
 
 -- 
 Dr Oleg Sklyar | EBI-EMBL, Cambridge CB10 1SD, UK | +44-1223-494466


__
R-help@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.


Re: [R] Ubuntu Linux and X11

2007-02-17 Thread Dirk Eddelbuettel

On 17 February 2007 at 11:23, Oleg Sklyar wrote:
| 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

Good point.  But on my systems , the upgrade only affected Emacs which
'looked ugly' but still worked.  In other words, nothing failed after the
Dapper / Edgy upgrade. In particular, R -- which I use day-in and day-out on
Ubuntu at work -- worked just fine.  So I am still puzzled as to exactly how
one can manage to get R so scrippled on Ubuntu that graphics fail...

Dirk

-- 
Hell, there are no rules here - we're trying to accomplish something. 
  -- Thomas A. Edison

__
R-help@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.


Re: [R] Ubuntu Linux and X11

2007-02-16 Thread Dirk Eddelbuettel
On Fri, Feb 16, 2007 at 09:53:39PM +0100, [EMAIL PROTECTED] 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@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.


Re: [R] Ubuntu Linux and X11

2007-02-16 Thread Yuelin Li
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, [EMAIL PROTECTED] 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@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@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.