Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-23034

R Plugin build can't find latest R on Ubuntu 19.10

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.6.8
    • Component/s: Build process
    • Labels:
      None

      Description

      7.6.6-rc1 REmbed plugin build failed:

      1:16:30 – Could NOT find R: Found unsuitable version "..", but required is at least "0.12.1" (found /usr/lib/R/lib/libR.so)
      11:16:30 CMake Warning at cmake_modules/commonSetup.cmake:570 (message):
      11:16:30 Not Building Plugin: Rembed

      But R are installed:
      ii r-base 3.6.1-4 all GNU R statistical computation and graphics system
      ii r-base-core 3.6.1-4 amd64 GNU R core of statistical computation and graphics system
      ii r-base-dev 3.6.1-4 all GNU R installation of auxiliary GNU R packages
      ii r-base-html 3.6.1-4 all GNU R html docs for statistical computing system functions
      ii r-cran-boot 1.3-23-2 all GNU R package for bootstrapping functions from Davison and Hinkley
      ii r-cran-class 7.3-15-1 amd64 GNU R package for classification
      ii r-cran-cluster 2.1.0-2 amd64 GNU R package for cluster analysis by Rousseeuw et al
      ii r-cran-codetools 0.2-16-1 all GNU R package providing code analysis tools
      ii r-cran-foreign 0.8.72-1 amd64 GNU R package to read/write data from other stat. systems
      ii r-cran-kernsmooth 2.23-15-3build2 amd64 GNU R package for kernel smoothing and density estimation
      ii r-cran-lattice 0.20-38-1 amd64 GNU R package for 'Trellis' graphics
      ii r-cran-littler 0.3.8-2 amd64 GNU R scripting and command-line front-end
      ii r-cran-mass 7.3-51.4-2 amd64 GNU R package of Venables and Ripley's MASS
      ii r-cran-matrix 1.2-17-2 amd64 GNU R package of classes for dense and sparse matrices
      ii r-cran-mgcv 1.8-28-2 amd64 GNU R package for multiple parameter smoothing estimation
      ii r-cran-nlme 3.1.141-1 amd64 GNU R package for (non-)linear mixed effects models
      ii r-cran-nnet 7.3-12-2build2 amd64 GNU R package for feed-forward neural networks
      ii r-cran-pkgkitten 0.1.4-2 all GNU R package to create simple packages
      ii r-cran-rcpp 1.0.2-1 amd64 GNU R package for Seamless R and C++ Integration
      ii r-cran-rpart 4.1-15-2 amd64 GNU R package for recursive partitioning and regression trees
      ii r-cran-spatial 7.3-11-2build2 amd64 GNU R package for spatial statistics
      ii r-cran-survival 2.44-1.1-2 amd64 GNU R package for survival analysis
      ii r-doc-html 3.6.1-4 all GNU R html manuals for statistical computing system
      ii r-recommended 3.6.1-4 all GNU R collection of recommended packages [metapackage]

      RInside 0.2.14 was installed:
      sudo R CMD INSTALL RInside_0.2.14.tar.gz

      • installing to library ‘/mnt/disk1/usr/local/lib/R/site-library’
      • installing source package ‘RInside’ ...
        • package ‘RInside’ successfully unpacked and MD5 sums checked
        • using staged installation
        • libs
          /usr/lib/R/bin/Rscript tools/RInsideAutoloads.r > RInsideAutoloads.h
          /usr/lib/R/bin/Rscript tools/RInsideEnvVars.r > RInsideEnvVars.h
          g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I. -I../inst/include/ -I"/usr/lib/R/site-library/Rcpp/include" -fpic -g -O2 -fdebug-prefix-map=/build/r-base-k1TtL4/r-base-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c MemBuf.cpp -o MemBuf.o
          g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I. -I../inst/include/ -I"/usr/lib/R/site-library/Rcpp/include" -fpic -g -O2 -fdebug-prefix-map=/build/r-base-k1TtL4/r-base-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c RInside.cpp -o RInside.o
          g++ -std=gnu++11 -shared -L/usr/lib/R/lib -Wl,-Bsymbolic-functions -Wl,-z,relro -o RInside.so MemBuf.o RInside.o -L/usr/lib/R/lib -lR
          g++ -std=gnu++11 -o libRInside.so MemBuf.o RInside.o -shared -Wl,-Bsymbolic-functions -Wl,-z,relro -L"/usr/lib/R/lib" -lR
          ar qc libRInside.a MemBuf.o RInside.o
          cp libRInside.so ../inst/lib
          cp libRInside.a ../inst/lib
          rm libRInside.so libRInside.a
          installing to /mnt/disk1/usr/local/lib/R/site-library/00LOCK-RInside/00new/RInside/libs
        • R
        • inst
        • byte-compile and prepare package for lazy loading
        • help
          • installing help indices
        • building package indices
        • testing if installed package can be loaded from temporary location
        • checking absolute paths in shared objects and dynamic libraries
        • testing if installed package can be loaded from final location
        • testing if installed package keeps a record of temporary installation path
      • DONE (RInside)

        Attachments

          Activity

            People

            • Assignee:
              xwang2713 Xiaoming Wang
              Reporter:
              xwang2713 Xiaoming Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: