Fix a few Dockerfile issues and update R to 3.x

Hi Eric, thanks so much for putting this image together! I've done some housekeeping to fix a few issues and annoyances I've come across in testing, as well upgraded to the much more recent R 3.x (as well as a minor update to RStudio).

Please let me know if you need any further explanation!