Notes on installing R from source

2018/05/29

Lately, I decided to install R version 3.5.0 from source because the Ubuntu’s R repository maintainers are way too late to get the binary up and running. I did not complain about their decent voluntary works, I just can’t wait to try out new features and improvements. Also, I’ve read some good things about building software from source, so this is a chance to boost up my technical expertise.

The installation process was actually not so hard as I thought. But it still took me three times to get the configurations right on my computer systems. In what follows, I note down some issues which I encountered during the process.

## put these codes in .Rprofile
setHook(packageEvent("grDevices", "onLoad"),
        function(...) grDevices::X11.options(type = 'cairo'))
options(device = 'x11')