Skip to content
Prev 981 / 398506 Next

R-beta: Problem instaling e1071

PL> I was trying to install e1071 and the compilation failed. Can some of
PL> you R gurus help me with this...

PL> thanks

PL> pedro

PL> ----

PL> Installing package `e1071' ...
PL> libs
PL> gcc -g -fpic -I/usr/local/R/include   -c pgm.c -o pgm.o
PL> pgm.c:19: pgm.h: No such file or directory
PL> make: *** [pgm.o] Error 1
PL> cp: src-c/*.so: No such file or directory
PL> R
PL> DONE                 

As indicated in the README file of e1071 you need libpgm and libpbm to
compile the image loading functions. pgm.h is an associated header
file. For Debian Linux these are contained in the netpbm and
netpbm-dev packages, I don't know about other OSs.


Best,