install r-devel to ~/r-devel, and add /usr/local/lib/R/site-library to R_LIBS_USER, which contains packages installed from apt-get