R unable to access internet to install packages

#1
I am having some trouble trying to install a number of packages in R on my work computer. An example of the code I am using is as follows:
install.packages("ggplot2",dependencies=TRUE)

An example of the error messages I am getting is:

Warning: unable to access index for repository http://cran.stat.auckland.ac.nz/bin/windows/contrib/2.9
Warning: unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.9
Warning messages:
1: In open.connection(con, "r") : unable to resolve 'cran.r-project.org'
2: In getDependencies(pkgs, dependencies, available, lib) :
package ‘ggplot2’ is not available

The version of R I am using is 2.9.1.

I have tried the same script at home with no problems and also at my previous workplace. I thought it may be to do with not having IT administrator privileges but an IT administrator tried with the same result and also tried the latest version of R with the same result. The IT administrator also did not see any internet traffic from my machine when I tried the install so we have come to the conclusion that R must not be able to access the internet from my machine – I do have general internet access.

We are using a proxy server (TMG – Microsoft’s Threat Management Gateway). Can R work with a proxy server on the network?
If so, how should this be configured so that a Network Administrator can make the appropriate changes?

Thanks for your help.
 

Dason

Ambassador to the humans
#2
You'll be having a tough time installing any packages with a version of R that old. Any chance of upgrading R?
 
#3
Thanks for the reply. It does look like the old version is the issue - I have requested IT to give me the latest version so hopefully that sorts it.