install.packages(bayesrules)
Exits with this error:
Warning in install.packages :
installation of package ‘rstanarm’ had non-zero exit status
I tried installing 'rstanarm' separately and it exits with the same error.
Appreciate any help
install.packages(bayesrules)
Exits with this error:
Warning in install.packages :
installation of package ‘rstanarm’ had non-zero exit status
I tried installing 'rstanarm' separately and it exits with the same error.
Appreciate any help
If you see
A binary version is available but a source version is later
and have been choosing the “Yes” option, try “No
Can you copy here the complete output of
install.packages(bayesrules)
? Thanks!
Thanks for your help...
install.packages("bayesrules")
Installing package into ‘/cloud/lib/x86_64-pc-linux-gnu-library/4.3’
(as ‘lib’ is unspecified)
also installing the dependencies ‘fs’, ‘diffobj’, ‘rematch2’, ‘rappdirs’, ‘highr’, ‘tinytex’, ‘numDeriv’, ‘brio’, ‘evaluate’, ‘pkgload’, ‘praise’, ‘ps’, ‘waldo’, ‘memoise’, ‘sass’, ‘yaml’, ‘knitr’, ‘rmarkdown’, ‘lazyeval’, ‘colorspace’, ‘abind’, ‘tensorA’, ‘distributional’, ‘testthat’, ‘callr’, ‘crayon’, ‘prettyunits’, ‘processx’, ‘rprojroot’, ‘httpuv’, ‘mime’, ‘jsonlite’, ‘fontawesome’, ‘htmltools’, ‘sourcetools’, ‘later’, ‘promises’, ‘fastmap’, ‘commonmark’, ‘bslib’, ‘cachem’, ‘ellipsis’, ‘htmlwidgets’, ‘miniUI’, ‘crosstalk’, ‘jquerylib’, ‘zoo’, ‘xfun’, ‘digest’, ‘igraph’, ‘base64enc’, ‘farver’, ‘labeling’, ‘munsell’, ‘RColorBrewer’, ‘viridisLite’, ‘fansi’, ‘pkgconfig’, ‘timechange’, ‘cpp11’, ‘utf8’, ‘ggridges’, ‘posterior’, ‘reshape2’, ‘minqa’, ‘nloptr’, ‘matrixStats’, ‘inline’, ‘gridExtra’, ‘pkgbuild’, ‘desc’, ‘shiny’, ‘colourpicker’, ‘DT’, ‘dygraphs’, ‘gtools’, ‘markdown’, ‘shinyjs’, ‘shinythemes’, ‘threejs’, ‘xtable’, ‘xts’, ‘backports’, ‘cli’, ‘glue’, ‘gtable’, ‘isoband’, ‘lifecycle’, ‘rlang’, ‘scales’, ‘tibble’, ‘vctrs’, ‘withr’, ‘hms’, ‘lubridate’, ‘stringi’, ‘stringr’, ‘snakecase’, ‘tidyselect’, ‘tidyr’, ‘generics’, ‘pillar’, ‘R6’, ‘Rcpp’, ‘bayesplot’, ‘lme4’, ‘loo’, ‘rstan’, ‘rstantools’, ‘shinystan’, ‘RcppParallel’, ‘StanHeaders’, ‘BH’, ‘RcppEigen’, ‘proxy’, ‘checkmate’, ‘numbers’, ‘plyr’, ‘rearrr’, ‘ggplot2’, ‘janitor’, ‘magrittr’, ‘dplyr’, ‘purrr’, ‘rstanarm’, ‘e1071’, ‘groupdata2’
g++ -std=gnu++17 -I"/opt/R/4.3.0/lib/R/include" -DNDEBUG -I"../inst/include" -I"/cloud/lib/x86_64-pc-linux-gnu-library/4.3/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -D_HAS_AUTO_PTR_ETC=0 -I'/cloud/lib/x86_64-pc-linux-gnu-library/4.3/StanHeaders/include' -I'/cloud/lib/x86_64-pc-linux-gnu-library/4.3/rstan/include' -I'/cloud/lib/x86_64-pc-linux-gnu-library/4.3/BH/include' -I'/cloud/lib/x86_64-pc-linux-gnu-library/4.3/Rcpp/include' -I'/cloud/lib/x86_64-pc-linux-gnu-library/4.3/RcppEigen/include' -I'/cloud/lib/x86_64-pc-linux-gnu-library/4.3/RcppParallel/include' -I/usr/local/include -I'/cloud/lib/x86_64-pc-linux-gnu-library/4.3/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -D_HAS_AUTO_PTR_ETC=0 -fpic -g -O2 -c stan_files/jm.cc -o stan_files/jm.o
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make: *** [/opt/R/4.3.0/lib/R/etc/Makeconf:198: stan_files/jm.o] Error 1
rm stan_files/jm.cc
ERROR: compilation failed for package ‘rstanarm’
The downloaded source packages are in
‘/tmp/RtmpPMehtF/downloaded_packages’
This seems like the Out-Of-Memory killer. C++ compilation often needs a lot of memory. How much memory do you have? Can you use a swap file?
Memory = 1G
I installed on a different VM with 4G -- no problem.
Thanks for your help!
I don’t have the metrics to back up my hunch, but that seems too stingy to work very well for anything other than just familiarization use of R in general, let alone any heavy duty compilation work, given that the VM has other demands that reduce how much of the 1GB is available.
This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.