changes to r-base

- install 'ed' (which, believe it or not, nloptr needs in configure and BDR did not let me use sed ...)
- reorder installation of .deb binaries in sorted order
- update before install in same RUN
- append to, rather than overwrite, Rprofile.site