I am trying to download packages and the message I get is as follows> utils:::menuInstallPkgs()--- Please select a CRAN mirror for use in this session --- Warning: unable to access index for repository http://cran.ms.unimelb.edu.au/bin/windows/contrib/3.0 Warning: unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.0 Error in install.packages(NULL, .libPaths()[1L], dependencies = NA, type = type) : no packages were specified In addition: Warning message: In open.connection(con, "r") : Can someone please help me? Thank you. Dr Patrick Aboagye-Sarfo, PhD | System Analyst | Clinical Modelling | Health System Improvement Unit Innovations and Health System Reforms | Department of Health, Western Australia Level 2, Block B, 189 Royal Street, East Perth WA 6004 T: (08) 9222 6473 (Mon, Tue & Wed) | Email: Patrick.Aboagye-Sarfo@health.wa.gov.au <mailto:Patrick.Aboagye-Sarfo@health.wa.gov.au> Senior Research Officer | Epidemiology and Surveillance Program | Communicable Disease Control Directorate Public Health and Clinical Services | Department of Health Western Australia 1st Floor, Grace Vaughan House, 227 Stubbs Terrace, Shenton Park, WA 6008 PO Box 8172, Perth Business Centre, WA 6849 T: (08) 9388 4847 (Wed, Thu, Fri) | F: (08) 93884888 | Email: Patrick.Aboagye-Sarfo@health.wa.gov.au [[alternative HTML version deleted]]
> I am trying to download packages and the message I get is as follows > > Warning: unable to access index for repository > http://cran.ms.unimelb.edu.au/bin/windows/contrib/3.0Your internet connection is probably either not working or (more likely) blocked by firewall or site access policies. Under windows, that problem sometimes goes away if you install R using the 'use Internet2' option or, _before attempting any connections_, you use setInternet2() If that does not work you will need to contact your local network administrator to permit access to the repositories. In our case that was a bit of a faff because we had to log the http request (that is, the raw http request, not the url) and then update (remote) proxies to recognise the structure of a CRAN repository request as an allowed site. Organisations are increasingly using such off-site 'site filtering', so it's become more of a problem. It may help you or your administrator to try simply reading direct from the URL, for example with readLines(url("http://cran.ms.unimelb.edu.au/")) If your internet connection is working, that should return html lines (I see 24 lines at that url, today) containing the html header and the <frameset> for a CRAN front page. But if your proxy or firewall are returning an error the text returned can be informative as to where the problem is. Failing all that, you could download the zip or tar.gz from CRAN) and install 'from a local zip file'. S ******************************************************************* This email and any attachments are confidential. Any use...{{dropped:8}}
Please (for crying out loud!) use a meaningful subject line!!! This list is called "r-help"!!! Using a subject line of "Help" is completely vacuous. cheers, Rolf Turner On 04/07/13 20:33, Aboagye-sarfo, Patrick wrote:> I am trying to download packages and the message I get is as follows ><SNIP>
Hi, i am tring to learn R own my own. From where can i download data for R (creating a subset). Right now i'm using (http://finance.yahoo.com/q/hp?s=MCD+Historical+Prices) this link for data but unable to create subset. Can someone help me using this data or help me to download different data? -- View this message in context: http://r.789695.n4.nabble.com/help-tp4671698.html Sent from the R help mailing list archive at Nabble.com. [[alternative HTML version deleted]]