I have a linux server I want to use for running some brms models.
So far I have been able to install the packages without any major issues. But when I run the model I get this error message:
Error in compileCode(f, code, language = language, verbose = verbose) : Compilation ERROR, function(s)/method(s) not created! In file included from /usr/local/lib/R/site-library/RcppEigen/include/Eigen/Core:392:0, from /usr/local/lib/R/site-library/RcppEigen/include/Eigen/Dense:1, from /usr/local/lib/R/site-library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:4, from /usr/local/lib/R/site-library/StanHeaders/include/stan/math/rev/core/build_vari_array.hpp:4, from /usr/local/lib/R/site-library/StanHeaders/include/stan/math/rev/core.hpp:5, from /usr/local/lib/R/site-library/StanHeaders/include/stan/math/rev/mat.hpp:4, from /usr/local/lib/R/site-library/StanHeaders/include/stan/math.hpp:4, from /usr/local/lib/R/site-library/StanHeaders/include/src/stan/model/model_header.hpp:4, from file22814fd3eb3a.cpp:8: /usr/local/lib/R/site-library/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:60:39: warning: ig In addition: Warning message: In system(cmd, intern = !verbose) : running command ‘/usr/lib/R/bin/R CMD SHLIB file22814fd3eb3a.cpp 2> file22814fd3eb3a.cpp.err.txt’ had status 1 Error in sink(type = “output”) : invalid connection
I suspect there is something wrong with the installation of some package, but I am unsure what to do about it.
Server is using Ubuntu Server version 18.04 LTS (bionic) 64-bit, and I have the latest g++ compiler. The specs are Memory Size: 2048MB Disk 1:20GB
I am using brms 2.10
Also, maybe unrelated, when I install some packages (for example httpuv) I get a bunch of these warnings:
In file included from /usr/local/lib/R/site-library/BH/include/boost/shared_ptr.hpp:17:0, from /usr/local/lib/R/site-library/BH/include/boost/date_time/gregorian/greg_month.hpp:14, from /usr/local/lib/R/site-library/BH/include/boost/date_time/gregorian/greg_ymd.hpp:16, from /usr/local/lib/R/site-library/BH/include/boost/date_time/gregorian/greg_calendar.hpp:17, from /usr/local/lib/R/site-library/BH/include/boost/date_time/gregorian/gregorian_types.hpp:19, from /usr/local/lib/R/site-library/BH/include/boost/date_time/posix_time/posix_time_config.hpp:18, from /usr/local/lib/R/site-library/BH/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/local/lib/R/site-library/BH/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/local/lib/R/site-library/BH/include/boost/date_time/posix_time/posix_time.hpp:15, from /usr/local/lib/R/site-library/BH/include/boost/date_time/local_time/local_time.hpp:11, from /usr/local/lib/R/site-library/BH/include/boost/date_time.hpp:15, from utils.h:13, from fs.cpp:2: /usr/local/lib/R/site-library/BH/include/boost/smart_ptr/shared_ptr.hpp:471:31: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn()
Maybe it is relevant?
Is anyone able to see the issue here?