Error while loading the package

What’s in your ~/.R/Makevars and / or ~./R/Makevars.win files? You need to take the -march=native stuff out of the compilation flags. Alternatively, you can install the binary packages from