Problem installing BRMS package on Linux server

Hmm, that’s a weird one. Can you post the outputs from:

system("gcc --version")

Below is the ouput:

What about if you run:

system("gcc-8 --version")

If that fails, then it means that the cluster doesn’t have the new compiler installed

Sure. Below is the output:

I am not sure why this is happening. I can load the brms package though

You’ll need to talk to the server admin again, the error is saying that the cluster you’re logged into does not have gcc-8 installed.

1 Like

I will reconnect with the server admin.
Thank you so much @andrjohns. I really appreciate your support :)


Is it possible only gcc was upgraded but not g++? That seems unlikely though.

I am not sure. But I guess the admin is seeing the updated gcc 8.3.1 on his terminal. Not sure how to check g++

Just type g++ --version in the terminal.

Its still 4.8.5. Probably explains why brms is throwing error

1 Like

Just a quick update, I connected with the server admin and he has fixed the problem using below commands on the R studio terminal. Now I am able to use brms just fine.
Thank you everyone for the support :)

echo "CXX14 = g++" >> ~/.R/Makevars
echo "CXX14FLAGS = -O3 -march=native -mtune=native -fPIC" >> ~/.R/Makevars
echo "source /opt/rh/devtoolset-8/enable" >> ~/.bash_profile
source ~/.bash_profile