Hello, I have openSUSE 11.1
Trying to install randomForest
as SU  after invoking R   install.packages("randomForest")

and I get this

* Installing *source* package ‘randomForest’ ...
** libs
gcc -std=gnu99 -I/usr/lib/R/include  -I/usr/local/include    -fpic  -O2 -c
classTree.c -o classTree.o
gcc -std=gnu99 -I/usr/lib/R/include  -I/usr/local/include    -fpic  -O2 -c
regTree.c -o regTree.o
gcc -std=gnu99 -I/usr/lib/R/include  -I/usr/local/include    -fpic  -O2 -c
regrf.c -o regrf.o
gcc -std=gnu99 -I/usr/lib/R/include  -I/usr/local/include    -fpic  -O2 -c
rf.c -o rf.o
gfortran   -fpic  -O2 -c rfsub.f -o rfsub.o
make: gfortran: Command not found
make: *** [rfsub.o] Error 127
ERROR: compilation failed for package ‘randomForest’
* Removing ‘/usr/lib/R/library/randomForest’

The downloaded packages are in
    ‘/tmp/RtmpLEyfgR/downloaded_packages’
Updating HTML index of packages in '.Library'
Warning message:
In install.packages("randomForest") :
  installation of package 'randomForest' had non-zero exit status
>


I checked that I have th  fortran library

S | Name          | Summary                                  | Type
--+---------------+------------------------------------------+--------
i | libgfortran41 | The GNU Fortran Compiler Runtime Library | package
i | libgfortran43 | The GNU Fortran Compiler Runtime Library | package

Any ideas how to solve this impass?

Alon Ben-Ari, MD
Dept Of Anesthesiology.
University of Pittsburgh

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to