Hello,
I am trying to install an add-on package lme4 into the R distribution and got the following error:
* installing to library '/usr/lib/R/library'
* installing *source* package 'lme4' ...
** package 'lme4' successfully unpacked and MD5 sums checked
** libs
/systemr/port/AIX/comp/oraxlc.shx -F/systemr/port/AIX/comp/xlc.cfg -I/usr/lib/R/include -DNDEBUG -I/systemr/port/AIX/include -I/opt/freeware/include -I/usr/linux/include -I/usr/local/include -I/usr/lpp/X11/include/X11 -I"/usr/lib/R/library/Matrix/include" -I"/usr/lib/R/library/stats/include" -O -qstrict -qnoldbl128 -c init.c -o init.o
/bin/sh: /systemr/port/AIX/comp/oraxlc.shx: not found.
make: 1254-004 The error code from the last command is 127.
The command I am using is:
R CMD INSTALL lme4_0.999999-2.tar.gz
I am pretty sure that the server does not have XLC installed; neither does the directory /systemr. The compiler I have is gcc. I tried to set the environment variable CC to the right gcc value but R keeps getting me the same problem. Is there a way in R to specify the compiler?
Any help is highly appreciated.