[R] Compiling R with zlib in non-standard location

David Chin david.chin.work at gmail.com
Tue May 23 19:02:20 CEST 2017

Hi Marc,

Pre-compiled RPMs for R are up to 3x slower than "self-compiled" R using
Intel MKL.  Yes, I do know about Microsoft R Open, but it wants to
overwrite the default /usr/bin/R and I have AMD machines in my cluster,
which cannot run MRO. So, I want to do my own compilation and install R in
a non-standard location so that it can be used by loading a modulefile.  I
also have users who have varying requirements for versions of R (for
whatever reason), so I need to provide different versions.

I also tried the suggested solution
https://stat.ethz.ch/pipermail/r-devel/2017-April/074162.html  -- but it
did not work for me. The configure script still picked up zlib.h from
/usr/include and deduced that it was an older version and would quit with

Apologies if this is a duplicate. I sent my first response with the wrong
email address.

On Tue, May 23, 2017 at 12:50 PM, Marc Schwartz <marc_schwartz at me.com>

> > On May 23, 2017, at 11:07 AM, David Chin <david.chin.work at gmail.com>
> wrote:
> >
> > Hi all,
> >
> > I am trying to compile R 3.4.0 on a RHEL 6.5 system. R requires a newer
> > version of zlib than is standard on RHEL 6.5. I do have a newer version
> > that satisfies R's requirement, but the configure script gives no way of
> > specifying a non-standard location of zlib.
> >
> > Is there a way around this? Or should I try to make a feature request?
> >
> > Thanks in advance,
> >    Dave
> Hi,
> This was recently asked here:
>   https://stat.ethz.ch/pipermail/r-devel/2017-April/074157.html
> Martyn provided a resolution in the follow up post, including a pointer to
> the EPEL, where there are pre-compiled RPMs for R.
> For future reference, there is a dedicated e-mail list for queries
> pertaining to R on RH/Fedora based distributions:
>   https://stat.ethz.ch/mailman/listinfo/r-sig-fedora
> Regards,
> Marc Schwartz

David Chin, Ph.D.
david.chin at drexel.edu    Sr. Systems Administrator, URCF, Drexel U.
215.221.4747 (mobile)

	[[alternative HTML version deleted]]

More information about the R-help mailing list