Olivier ETERRADOSSI
2008-Mar-19 15:22 UTC
[R] adimpro package : R does not seem to find my ImageMagick installation
Dear list, (sorry if I post to the wrong place...), Though having spent some time on it, I cannot find an answer by myself to the following behaviour of the read.image function (adimpro package) : I'm running R.2.6.2 on Windows XP. The home directory is C:\Program files\R\R-2.6.2 Version 0.4.4 of adimpro is loaded. ImageMagick 6.3.0 is installed, its directory is C:\Program files\ImageMagick-6.3.0-Q16 When using function read.image in adimpro, extensions"tif", "tiff", "png" .. and so on are not recognized, as seems to say the following error message :> Error in read.image(file = "JFtiff.tiff") : > cannot find JFtiff.ppmIn my understanding, this means that adimpro behaves as if ImageMagick was not installed, as the manual says :> If ImageMagick is not available only "pgm", "ppm" and "pnm" formats > can be processedWhat am I misunderstanding or doing wrong ? (perhaps wrong location of ImageMagick or wrong version...?) Thanks a lot in advance. Olivier -- Olivier ETERRADOSSI Ma?tre-Assistant CMGD / Equipe "Propri?t?s Psycho-Sensorielles des Mat?riaux" Ecole des Mines d'Al?s H?lioparc, 2 av. P. Angot, F-64053 PAU CEDEX 9 tel std: +33 (0)5.59.30.54.25 tel direct: +33 (0)5.59.30.90.35 fax: +33 (0)5.59.30.63.68 http://www.ema.fr
Prof Brian Ripley
2008-Mar-19 16:01 UTC
[R] adimpro package : R does not seem to find my ImageMagick installation
On Wed, 19 Mar 2008, Olivier ETERRADOSSI wrote:> Dear list, > (sorry if I post to the wrong place...), > > Though having spent some time on it, I cannot find an answer by myself > to the following behaviour of the read.image function (adimpro package) : > I'm running R.2.6.2 on Windows XP. The home directory is C:\Program > files\R\R-2.6.2 > Version 0.4.4 of adimpro is loaded. > ImageMagick 6.3.0 is installed, its directory is C:\Program > files\ImageMagick-6.3.0-Q16 > > When using function read.image in adimpro, extensions"tif", "tiff", > "png" .. and so on are not recognized, as seems to say the following > error message : >> Error in read.image(file = "JFtiff.tiff") : >> cannot find JFtiff.ppm > In my understanding, this means that adimpro behaves as if ImageMagick > was not installed, as the manual says : >> If ImageMagick is not available only "pgm", "ppm" and "pnm" formats >> can be processed > What am I misunderstanding or doing wrong ? (perhaps wrong location of > ImageMagick or wrong version...?)Is it (or its bin directory, if it has one) in your PATH? Being installed is not enough .... -- 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