I need authentication to use internet, say these are my variables:
+1 for Juba, above. This worked for me:
$ export http_proxy=http://username:password@the-proxy.mycompany.com:80 $ R > install.packages("quantmod")