title: R connect via proxy in Ubuntu
body: <p>I had installed RStudio 0.97.168 on Ubuntu 12.04.  When I try to install gstat library I get the below error</p>
  
  <pre><code>install.packages("gstat", dependencies=TRUE)
  
  Warning in install.packages :
    cannot open: HTTP status was '407 Proxy Authentication Required'
  Warning in install.packages :
    cannot open: HTTP status was '407 Proxy Authentication Required'
  Warning in install.packages :
    unable to access index for repository http://software.rc.fas.harvard.edu/mirrors/R/src/contrib
  Warning in install.packages :
    package ‘gstat’ is not available (for R version 2.14.1)
  </code></pre>
  
  <p>I saw solutions like <code>--intenet</code> and <code>setInternet(TRUE)</code> which are only applicable for Windows OS.</p>
  
  <p>Please provide help on changes I need to make to get behind my university proxy?</p>