From ripley at stats.ox.ac.uk  Thu Dec 21 08:56:08 2006
From: ripley at stats.ox.ac.uk (ripley at stats.ox.ac.uk)
Date: Thu, 21 Dec 2006 08:56:08 +0100 (CET)
Subject: [Rd] jpeg() and png() in R-2.4.x (PR#9423)
Message-ID: <20061221075608.A1B4156243@slim.kubism.ku.dk>

The file INSTALL says

   The main source of information on installation is the `R Installation
   and Administration Manual', an HTML copy of which is available as file
   `doc/html/R-admin.html'.  Please read that before installing R.  But
   if you are impatient, read on but please refer to the manual to
   resolve any problems.  (If you obtained R using Subversion, the manual
   is at doc/manual/R-admin.texi.)

I suspect this was an installation problem, in which case it is covered in 
that manual.  Configure reports on the capabilities it found, e.g.

   Interfaces supported:      X11, tcltk
   External libraries:        readline
   Additional capabilities:   PNG, JPEG, iconv, MBCS, NLS
   Options enabled:           shared BLAS, R profiling, Java

and you have not told us what your build reported.

An alternative is covered by ?capabilities

      X11: (Unix)  Are the 'X11' graphics device and the X11-based data
           editor available?  This loads the X11 module if not already
           loaded, and checks that the default display can be contacted
           unless a 'X11' device has already been used.

which if false will imply that jpeg and png are not available (but tcltk 
could be).

You need to demonstrate that this really is a bug in R and not a 
mis-report using scarce resources (R-core time).  (The R build not 
magically finding missing components of your OS is not a bug.)


On Wed, 20 Dec 2006, sophie.martin at actigenics.com wrote:

> I have tried to install R-2.4.x on my computer (linux - mandriva 2007 -
> 64bits), with tar file for R-4.2.1 and rpm file for R-2.4.0, and
> function capabilities() says to me that JPG, PNG and TCLTK are not
> available. However, with the version R-2.3.x with whicc I work , they
> are available.
> May be it's a bug, or may be my mandriva 2007 distribution are not all
> required libraries ? But I have not find "REQUIREMENTS" files on the
> CRAN site to verify that.
>
> Thanks for your help,
>
> Sophie Martin

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



[Rd] jpeg() and png() in R-2.4.x (PR#9423)
ripley at stats.ox.ac.uk