I need help installing jpeg package. Simple command install.package("jpeg") produce the following result. My OS is Fedora 21. Thanks in advance for your help.
> install.packages("jpeg") Installing package into �/home/cgg/R/x86_64-redhat-linux-gnu-library/3.1� (as �lib� is unspecified) trying URL 'http://cran.rstudio.com/src/contrib/jpeg_0.1-8.tar.gz' Content type 'application/x-gzip' length 18046 bytes (17 Kb) opened URL ================================================== downloaded 17 Kb * installing *source* package �jpeg� ... ** package �jpeg� successfully unpacked and MD5 sums checked ** libs gcc -m64 -std=gnu99 -I/usr/include/R -DNDEBUG -I/usr/local/include -fpic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c read.c -o read.o In file included from read.c:1:0: rjcommon.h:11:21: fatal error: jpeglib.h: No such file or directory #include <jpeglib.h> ^ compilation terminated. /usr/lib64/R/etc/Makeconf:133: recipe for target 'read.o' failed make: *** [read.o] Error 1 ERROR: compilation failed for package �jpeg� * removing �/home/cgg/R/x86_64-redhat-linux-gnu-library/3.1/jpeg� Warning in install.packages : installation of package �jpeg� had non-zero exit status The downloaded source packages are in �/tmp/RtmpYpmDcb/downloaded_packages� [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.