[premise-users] help

Meng Zhao mbv47 at wildcats.unh.edu
Tue Oct 3 10:47:59 EDT 2017


Good morning,

I have trouble to install packages (‘sp’,’rstan’ and ‘rgdal') in software R. Below is the error message I got. I think it’s something related to the ‘lib’. Thank you.

Best,

Meng Zhao

Warning: R include directory is empty -- perhaps need to install R-devel.rpm or similar
gcc -m64 -std=gnu99 -I/usr/include/R -DNDEBUG  -I/usr/local/include    -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c Rcentroid.c -o Rcentroid.o
In file included from Rcentroid.c:28:0:
sp.h:13:15: fatal error: R.h: No such file or directory
 #include <R.h>
               ^

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sr.unh.edu/pipermail/premise-users/attachments/20171003/07236a99/attachment.html>


More information about the premise-users mailing list