Error while installing R packages on vertica 7.2 ?..

Hello,

I am trying to install below R packages on vertica 7.2.

-xts_0.9-5.tar.gz
-fracdiff_1.4-2.tar.gz
-quadprog_1.5-5.tar.gz
-tseries_0.10-34.tar.gz
-RcppArmadillo_0.3.910.0.tar.gz
-forecast_4.8.tar.gz

Content of my install script:

    /opt/vertica/R/bin/R CMD INSTALL  xts_0.9-5.tar.gz

    /opt/vertica/R/bin/R CMD INSTALL  fracdiff_1.4-2.tar.gz
    /opt/vertica/R/bin/R CMD INSTALL  quadprog_1.5-5.tar.gz
    /opt/vertica/R/bin/R CMD INSTALL  tseries_0.10-34.tar.gz
    /opt/vertica/R/bin/R CMD INSTALL  RcppArmadillo_0.3.910.0.tar.gz
    /opt/vertica/R/bin/R CMD INSTALL  forecast_4.8.tar.gz

Machine: Red Hat Enterprise Linux Server release 6.5 (Santiago)

However the installation is unsuccessful with below errors:

/usr/bin/ld: cannot find -lquadmath
collect2: ld returned 1 exit status
make: *** [xts.so] Error 1
ERROR: compilation failed for package ‘xts’

  • removing ‘/opt/vertica/R/library/xts’

/usr/bin/ld: cannot find -lquadmath
collect2: ld returned 1 exit status
make: *** [fracdiff.so] Error 1
ERROR: compilation failed for package ‘fracdiff’

  • removing ‘/opt/vertica/R/library/fracdiff’

/usr/bin/ld: cannot find -lquadmath
collect2: ld returned 1 exit status
make: *** [quadprog.so] Error 1
ERROR: compilation failed for package ‘quadprog’

  • removing ‘/opt/vertica/R/library/quadprog’
  • installing to library ‘/opt/vertica/R/library’
    ERROR: dependency ‘quadprog’ is not available for package ‘tseries’

/usr/bin/ld: cannot find -lquadmath
collect2: ld returned 1 exit status
make: *** [RcppArmadillo.so] Error 1
ERROR: compilation failed for package ‘RcppArmadillo’

  • removing ‘/opt/vertica/R/library/RcppArmadillo’
  • installing to library ‘/opt/vertica/R/library’
    ERROR: dependencies ‘tseries’, ‘fracdiff’, ‘RcppArmadillo’ are not available for package ‘forecast’

  • removing ‘/opt/vertica/R/library/forecast’

Experts and users, please advice what could have been the problem with 7.2 version of vertica and the above mentioned libraries.

Thanks
jackyjoy

Answers

  • Jim_KnicelyJim_Knicely - Select Field - Administrator

    Vertica 7.2 is really old. The Vertica R Language Pack in Vertica 7.2 provided version 3.0.0 of the R runtime and associated libraries for interfacing with Vertica.

    You are going to have to find older version of the packages that you are trying to install that are compatible with version 3.0.0.

    Maybe it's time to upgrade Vertica?

    The Vertica 10.0.x R Language Pack provides version 3.5 of the R runtime

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file