Skip to content

Unable to install random Forest package #2

@anjana3

Description

@anjana3

install.packages("randomForest")
Installing package into ‘/home/anjana/R/x86_64-pc-linux-gnu-library/3.4’
(as ‘lib’ is unspecified)
trying URL 'https://cloud.r-project.org/src/contrib/randomForest_4.6-14.tar.gz'
Content type 'application/x-gzip' length 80074 bytes (78 KB)
==================================================
downloaded 78 KB

  • installing source package ‘randomForest’ ...
    ** package ‘randomForest’ successfully unpacked and MD5 sums checked
    ** libs
    gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c classTree.c -o classTree.o
    gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c init.c -o init.o
    gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c regTree.c -o regTree.o
    gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c regrf.c -o regrf.o
    gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c rf.c -o rf.o
    gfortran -fpic -g -O2 -fstack-protector-strong -c rfsub.f -o rfsub.o
    /bin/bash: gfortran: command not found
    /usr/lib/R/etc/Makeconf:182: recipe for target 'rfsub.o' failed
    make: *** [rfsub.o] Error 127
    ERROR: compilation failed for package ‘randomForest’
  • removing ‘/home/anjana/R/x86_64-pc-linux-gnu-library/3.4/randomForest’
    Warning in install.packages :
    installation of package ‘randomForest’ had non-zero exit status

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requestedwontfixThis will not be worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions