Hi, I am trying to setup rstan r-3.5 hosted on RHEL 6 and so far its failing with error:
Command used to install:
install.packages(“rstan”, repos = “https://cloud.r-project.org/”, dependencies = TRUE)
Error:
ERROR: dependency ‘igraph’ is not available for package ‘threejs’
ERROR: dependency ‘threejs’ is not available for package ‘shinystan’
The downloaded source packages are in
‘/tmp/RtmpPeWCSs/downloaded_packages’
Updating HTML index of packages in ‘.Library’
Making ‘packages.html’ … done
Warning messages:
1: In install.packages(“rstan”, repos = “https://cloud.r-project.org/”, :
installation of package ‘igraph’ had non-zero exit status
2: In install.packages(“rstan”, repos = “https://cloud.r-project.org/”, :
installation of package ‘threejs’ had non-zero exit status
3: In install.packages(“rstan”, repos = “https://cloud.r-project.org/”, :
installation of package ‘shinystan’ had non-zero exit status
I tried to reinstall and had updated PATH and received below error:
installing to /opt/R/3.5.0/lib64/R/library/igraph/libs
** R
** demo
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
DONE (igraph)
installing source package ‘rstan’ …
** package ‘rstan’ successfully unpacked and MD5 sums checked
** libs
Error in .shlib_internal(args) :
C++14 standard requested but CXX14 is not defined
installing source package ‘threejs’ …
** package ‘threejs’ successfully unpacked and MD5 sums checked
** R
** data
** demo
** inst
** byte-compile and prepare package for lazy loading
Creating a generic function for ‘vertices’ from package ‘igraph’ in package ‘threejs’
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
DONE (threejs)
installing source package ‘shinystan’ …
** package ‘shinystan’ successfully unpacked and MD5 sums checked
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded
DONE (shinystan)
The downloaded source packages are in
‘/tmp/Rtmpaxharv/downloaded_packages’
Updating HTML index of packages in ‘.Library’
Making ‘packages.html’ … done
Warning message:
In install.packages(“rstan”, repos = “https://cloud.r-project.org/”, :
installation of package ‘rstan’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpzMKFzF/downloaded_packages’
Updating HTML index of packages in ‘.Library’
Making ‘packages.html’ … done
Warning message:
In install.packages(“rstan”, repos = “https://cloud.r-project.org/”, :
installation of package ‘rstan’ had non-zero exit status
The downloaded source packages are in
‘/tmp/Rtmp4d65Sa/downloaded_packages’
Updating HTML index of packages in ‘.Library’
Making ‘packages.html’ … done
Warning message:
In install.packages(“rstan”, repos = “https://cloud.r-project.org/”, :
installation of package ‘rstan’ had non-zero exit status