Hi,
I am trying to install and run some R programs on V7R4. I am having difficulties with the following. Any ideas?
> install.packages("DescTools")
Warning message:
package 'DescTools' is not available (for R version 3.6.3)
> install.packages("rcompanion")
Warning message:
package 'rcompanion' is not available (for R version 3.6.3)
Also
install.packages("car") fails - cannot find libintl.h and then tries cmake but cannot find that either. cmake is installed using ACS version 3.16.9-1 (the latest).
> install.packages("car")
gcc -I"/QOpenSys/pkgs/lib/R/include" -DNDEBUG -DNTIMER -I./SuiteSparse_config -DUSE_FC_LEN_T -pthread -mminimal-toc -fPIC -O2 -g -maix64 -mtune=power6 -mcpu=power6 -c CHMfactor.c -o CHMfactor.o
In file included from Mutils.h:21:0,
from chm_common.h:6,
from CHMfactor.h:4,
from CHMfactor.c:2:
Mdefines.h:16:22: fatal error: libintl.h: No such file or directory
# include <libintl.h>
....
checking for pkg-config... /QOpenSys/pkgs/bin/pkg-config
checking if pkg-config knows NLopt... no
checking for cmake... no
Alternatively install CMake from: <https://cmake.org/>
-------------------------------------------------------
** libs
gcc -I"/QOpenSys/pkgs/lib/R/include" -DNDEBUG -I"/QOpenSys/pkgs/lib/R/library/testthat/include" -pthread -mminimal-toc -fPIC -O2 -g -maix64 -mtune=power6 -mcpu=power6 -c init_nloptr.c -o init_nloptr.o
init_nloptr.c:34:19: fatal error: nlopt.h: No such file or directory
#include <nlopt.h>
^
compilation terminated.
make: *** [/QOpenSys/pkgs/lib/R/etc/Makeconf:168: init_nloptr.o] Error 1
ERROR: compilation failed for package 'nloptr'
* removing '/QOpenSys/pkgs/lib/R/library/nloptr'
Thanks for any help.
Terry
------------------------------
Terry Bartlett
------------------------------