Skip to content
Back to formatted view

Raw Message

Message-ID: <D6D89719-0E58-4B37-B75C-4FAFA9B5E4AA@me.com>
Date: 2012-08-20T19:19:13Z
From: Marc Schwartz
Subject: jpeglib.h not found
In-Reply-To: <CAGoCtdBAUAetG+h+kEaRTTEruyVKv5Mji7jF+Yz49q6Kx9q+6w@mail.gmail.com>

On Aug 20, 2012, at 11:08 AM, Debarghya Mukherjee <deb.mukherjee46 at gmail.com> wrote:

> Dear sir,
>              For my statistical work I have installed R. But for
> analyzing an image in R I have to install jpeg packages. So I have to
> input command install.packages(?jpeg?). But error occurred: jpeglib.h
> file not found. What should I do? I use fedora 17.Please help me.



You are missing the 'devel' companion to the libjpeg-turbo package, which contains the header files, among other things.

As root or via sudo, you should run:

  yum install libjpeg-turbo-devel

at the Linux (not R) command line.

That should solve the problem. Additional information is also available in the R Installation and Administration Manual in Appendix A:

  http://cran.r-project.org/doc/manuals/R-admin.html#Essential-and-useful-other-programs-under-a-Unix_002dalike

Also, as an FYI, there is a Fedora specific R e-mail list at:

  https://stat.ethz.ch/mailman/listinfo/r-sig-fedora

You should subscribe to and post there with any follow ups or future Fedora specific R queries.

Regards,

Marc Schwartz