Installing R 3.5.0 with --enable-R-shlib
Just in case someone else runs into this problem.
The issue is the object files ".o" are already compiled without the -fpic
option.
The proper solution is to remove the object files from the first build and recomplile:
make clean
./configure --enable-R-shlib
make -j 4
sudo make install
The -j 4
tells make to spawn four compile processes at a time. Adjust the number to match the number of processor cores.
Rstudio-server won't start after updating to R 3.5.0: Error occured during transmission
I had the same problem after installing R 3.5.1 from sources.
The reason for the error is that libR.so is not build using the
simple installation procedure described in file INSTALL. RStudio
searches for this and finds an incompatible (old) one. Use this instead:
./configure --enable-R-shlib
make
Related Topics
In Ggplot2, How to Add Additional Legend
Remove Data.Frame Row Names When Using Xtable
Transform Only One Axis to Log10 Scale with Ggplot2
How to Merge Two Columns in R with a Specific Symbol
How to Find Row Number of a Value in R Code
Formatting Mouse Over Labels in Plotly When Using Ggplotly
Replacing All Missing Values in R Data.Table with a Value
How to Extract Fitted Splines from a Gam ('Mgcv::Gam')
Diagnosing R Package Build Warning: "Latex Errors When Creating PDF Version"
How to Automatically Include All 2-Way Interactions in a Glm Model in R
R Not Finding Package Even After Package Installation
Efficient Alternatives to Merge for Larger Data.Frames R
Best Practices for Storing and Using Data Frames Too Large for Memory
How to Install R Package from Private Repo Using Devtools Install_Github