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 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 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 Microsofts 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âku noa nâ Alex Collier Research Analyst SuPERU (Social Policy Evaluation and Research Unit) Families Commission | Kômihâna â Whânau Level 5, Public Trust Building 117-125 Lambton Quay PO Box 2839 WELLINGTON DDI 04 917 7048 | Fax 04 917 7059 Email: alex.coll...@nzfamilies.org.nz<mailto:alex.coll...@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ânau ------------------------------------------ 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@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.