Results 1 to 2 of 2

Thread: Trouble installing rNOMADS in RStudio

  1. #1

    Question Trouble installing rNOMADS in RStudio

    Hello, has anyone sucessfully installed rNOMADS in R studio inside of TUMBLEWEED?

    Code:
    > install.packages("rNOMADS")
    Installing package into ‘/home/agbeli/R/x86_64-suse-linux-gnu-library/3.4’
    (as ‘lib’ is unspecified)
    also installing the dependencies ‘curl’, ‘dotCall64’, ‘httr’, ‘spam’, ‘splancs’, ‘rvest’, ‘fields’, ‘GEOmap’
    
    trying URL 'https://cran.rstudio.com/src/contrib/curl_3.1.tar.gz'
    Content type 'application/x-gzip' length 366086 bytes (357 KB)
    ==================================================
    downloaded 357 KB
    
    trying URL 'https://cran.rstudio.com/src/contrib/dotCall64_0.9-5.tar.gz'
    Content type 'application/x-gzip' length 17097 bytes (16 KB)
    ==================================================
    downloaded 16 KB
    
    trying URL 'https://cran.rstudio.com/src/contrib/httr_1.3.1.tar.gz'
    Content type 'application/x-gzip' length 147593 bytes (144 KB)
    ==================================================
    downloaded 144 KB
    
    trying URL 'https://cran.rstudio.com/src/contrib/spam_2.1-2.tar.gz'
    Content type 'application/x-gzip' length 1323898 bytes (1.3 MB)
    ==================================================
    downloaded 1.3 MB
    
    trying URL 'https://cran.rstudio.com/src/contrib/splancs_2.01-40.tar.gz'
    Content type 'application/x-gzip' length 105583 bytes (103 KB)
    ==================================================
    downloaded 103 KB
    
    trying URL 'https://cran.rstudio.com/src/contrib/rvest_0.3.2.tar.gz'
    Content type 'application/x-gzip' length 1597137 bytes (1.5 MB)
    ==================================================
    downloaded 1.5 MB
    
    trying URL 'https://cran.rstudio.com/src/contrib/fields_9.0.tar.gz'
    Content type 'application/x-gzip' length 3264975 bytes (3.1 MB)
    ==================================================
    downloaded 3.1 MB
    
    trying URL 'https://cran.rstudio.com/src/contrib/GEOmap_2.4-0.tar.gz'
    Content type 'application/x-gzip' length 2473528 bytes (2.4 MB)
    ==================================================
    downloaded 2.4 MB
    
    trying URL 'https://cran.rstudio.com/src/contrib/rNOMADS_2.3.8.tar.gz'
    Content type 'application/x-gzip' length 41804 bytes (40 KB)
    ==================================================
    downloaded 40 KB
    
    * installing *source* package ‘curl’ ...
    ** package ‘curl’ successfully unpacked and MD5 sums checked
    Package libcurl was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libcurl.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libcurl' found
    Package libcurl was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libcurl.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libcurl' found
    Using PKG_CFLAGS=
    Using PKG_LIBS=-lcurl
    ------------------------- ANTICONF ERROR ---------------------------
    Configuration failed because libcurl was not found. Try installing:
     * deb: libcurl4-openssl-dev (Debian, Ubuntu, etc)
     * rpm: libcurl-devel (Fedora, CentOS, RHEL)
     * csw: libcurl_dev (Solaris)
    If libcurl is already installed, check that 'pkg-config' is in your
    PATH and PKG_CONFIG_PATH contains a libcurl.pc file. If pkg-config
    is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
    R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
    --------------------------------------------------------------------
    ERROR: configuration failed for package ‘curl’
    * removing ‘/home/agbeli/R/x86_64-suse-linux-gnu-library/3.4/curl’
    Warning in install.packages :
      installation of package ‘curl’ had non-zero exit status
    * installing *source* package ‘dotCall64’ ...
    ** package ‘dotCall64’ successfully unpacked and MD5 sums checked
    ** libs
    gcc -I/usr/lib64/R/include -DNDEBUG   -I/usr/local/include  -fopenmp -I../inst/include/ -DDOTCAL64_PRIVATE -fpic  -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection  -c dotCall64.c -o dotCall64.o
    gcc -I/usr/lib64/R/include -DNDEBUG   -I/usr/local/include  -fopenmp -I../inst/include/ -DDOTCAL64_PRIVATE -fpic  -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection  -c dotCall64helpers.c -o dotCall64helpers.o
    gcc -I/usr/lib64/R/include -DNDEBUG   -I/usr/local/include  -fopenmp -I../inst/include/ -DDOTCAL64_PRIVATE -fpic  -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection  -c init.c -o init.o
    gcc -I/usr/lib64/R/include -DNDEBUG   -I/usr/local/include  -fopenmp -I../inst/include/ -DDOTCAL64_PRIVATE -fpic  -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection  -c testfunctions_c.c -o testfunctions_c.o
    gfortran   -fpic  -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection  -c testfunctions_f.f -o testfunctions_f.o
    make: gfortran: Command not found
    make: *** [/usr/lib64/R/etc/Makeconf:182: testfunctions_f.o] Error 127
    ERROR: compilation failed for package ‘dotCall64’
    * removing ‘/home/agbeli/R/x86_64-suse-linux-gnu-library/3.4/dotCall64’
    Warning in install.packages :
      installation of package ‘dotCall64’ had non-zero exit status
    * installing *source* package ‘splancs’ ...
    ** package ‘splancs’ successfully unpacked and MD5 sums checked
    ** libs
    gfortran   -fpic  -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection  -c areapl.f -o areapl.o
    make: gfortran: Command not found
    make: *** [/usr/lib64/R/etc/Makeconf:182: areapl.o] Error 127
    ERROR: compilation failed for package ‘splancs’
    * removing ‘/home/agbeli/R/x86_64-suse-linux-gnu-library/3.4/splancs’
    Warning in install.packages :
      installation of package ‘splancs’ had non-zero exit status
    ERROR: dependency ‘curl’ is not available for package ‘httr’
    * removing ‘/home/agbeli/R/x86_64-suse-linux-gnu-library/3.4/httr’
    Warning in install.packages :
      installation of package ‘httr’ had non-zero exit status
    ERROR: dependency ‘dotCall64’ is not available for package ‘spam’
    * removing ‘/home/agbeli/R/x86_64-suse-linux-gnu-library/3.4/spam’
    Warning in install.packages :
      installation of package ‘spam’ had non-zero exit status
    ERROR: dependency ‘httr’ is not available for package ‘rvest’
    * removing ‘/home/agbeli/R/x86_64-suse-linux-gnu-library/3.4/rvest’
    Warning in install.packages :
      installation of package ‘rvest’ had non-zero exit status
    ERROR: dependency ‘spam’ is not available for package ‘fields’
    * removing ‘/home/agbeli/R/x86_64-suse-linux-gnu-library/3.4/fields’
    Warning in install.packages :
      installation of package ‘fields’ had non-zero exit status
    ERROR: dependencies ‘splancs’, ‘fields’ are not available for package ‘GEOmap’
    * removing ‘/home/agbeli/R/x86_64-suse-linux-gnu-library/3.4/GEOmap’
    Warning in install.packages :
      installation of package ‘GEOmap’ had non-zero exit status
    ERROR: dependencies ‘rvest’, ‘fields’, ‘GEOmap’ are not available for package ‘rNOMADS’
    * removing ‘/home/agbeli/R/x86_64-suse-linux-gnu-library/3.4/rNOMADS’
    Warning in install.packages :
      installation of package ‘rNOMADS’ had non-zero exit status
    
    The downloaded source packages are in
        ‘/tmp/Rtmp8DsjZt/downloaded_packages’
    > library(rNOMADS)
    Error in library(rNOMADS) : there is no package called ‘rNOMADS’
    > 
    >

  2. #2
    Join Date
    Sep 2008
    Posts
    2,997

    Default Re: Trouble installing rNOMADS in RStudio

    Quote Originally Posted by teamgh View Post
    Hello, has anyone sucessfully installed rNOMADS in R studio inside of TUMBLEWEED?

    Code:
    make: gfortran: Command not found
    do you have fortran installed
    Code:
    zypper in gcc-fortran
    you should check the readme for needed packages

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •