R unable to access internet to install packages
Hello, About problem for R to download files: http://cran.r-project.org/bin/windows/rw-FAQ.html#The-Internet-download-functions-fail_002e The repertory "2.9" for the second mirror doesn't exist. Hope this helps, Pascal
On 05/09/2013 09:30 AM, Alex Collier wrote:
Hi,
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 ?gplot2? 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 and 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? 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.
Regards,
Alex Collier
N?u noa n?
Alex Collier
Research Analyst
SuPERU (Social Policy Evaluation and Research Unit)
Families Commission | K?ih?a ? Wh?au
Level 5, Public Trust Building
117-125 Lambton Quay
PO Box 2839
WELLINGTON
DDI 04 917 7048 | Fax 04 917 7059
Email: alex.collier at nzfamilies.org.nz<mailto:alex.collier at nzfamilies.org.nz>
Web: www.nzfamilies.org.nz<http://www.nzfamilies.org.nz/>
Follow us on Facebook<http://www.facebook.com/pages/Families-Commission/121836017891600> | Follow us on Twitter<https://twitter.com/nzfamilies>
A centre of excellence about families and wh?au
------------------------------------------
This email is confidential. If it is not intended for you please do not read, distribute or copy it or any attachments. Please notify the sender by return email and delete the original message and any attachments.
Any views expressed in this email may be those of the individual sender and may not necessarily reflect the views of the Families Commission.
------------------------------------------
[[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.