[R] Unable to use jpeg(), png() etc.....

Uwe Ligges ligges at statistik.tu-dortmund.de
Fri Jun 19 19:09:06 CEST 2009


Have you compiled R yourself?
If so, you probably have the header files for png and friends support 
not installed. If you have a binary install, the one who compiled R for 
you have not had it.

Uwe Ligges



Martial Sankar wrote:
> Hello, 
> 
> I 've just re-installed R 2.9.0 on ubuntu 9.04.
> 
> I do not understand why I am unable to use simple device function such as jpeg(), png()...
> 
>> png()
> Error in X11(paste("png::", filename, sep = ""), width, height, pointsize,  : 
>   unable to start device PNG
> In addition: Warning message:
> In png() : no png support in this version of R
> 
> 
>> capabilities()
>     jpeg      png     tiff    tcltk      X11     aqua http/ftp  sockets 
>    FALSE    FALSE    FALSE    FALSE     TRUE    FALSE     TRUE     TRUE 
>   libxml     fifo   cledit    iconv      NLS  profmem    cairo 
>     TRUE     TRUE    FALSE     TRUE     TRUE    FALSE    FALSE 
> 
> It's not really a problem because i use cairo but i would like to know the source of this error.
> 
> I checked the library as proposed in previous post : 
> 
> https://stat.ethz.ch/pipermail/r-help/2005-December/085177.html
> 
> but all of them (libpng, libjpeg...) are already installed.
> 
> Did someone ever find the source of this R Error ?
> 
> Thanks !
> 
> - Martial
> 
> 
> 
> _________________________________________________________________
> 
> ? Lancez-vous !
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org 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.




More information about the R-help mailing list