> To: Anyone Who Can HelpI am new to R and am trying to install a couple of packages but receive this warning/error message. Please help by providing suggestions or solutions to this problem>> chooseCRANmirror() >> utils:::menuInstallPkgs() > Warning: unable to access index for repository > http://www.ibiblio.org/pub/languages/R/CRAN/bin/windows/contrib/2.2 > Warning: unable to access index for repository > http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.2 > Error in install.packages(NULL, .libPaths()[1], dependencies = TRUE, > type = type) : > no packages were specifiedBest regards, Peter Arnold, CFA President PRA Investment Counsel, Inc. 704-341-8193 www.prainvestment.com
Hello Peter, in case your OS is windows and you connect to the Internet via a Proxy-Server, you can/should set --internet2 in properties of the R icon on your desktop. See the FAQ for more on this topic. Bernhard -----Urspr??ngliche Nachricht----- Von: Peter Arnold [mailto:peter at prainvestment.com] Gesendet: Freitag, 17. Februar 2006 16:39 An: r-help at stat.math.ethz.ch Betreff: [R] Basic R Problem> To: Anyone Who Can HelpI am new to R and am trying to install a couple of packages but receive this warning/error message. Please help by providing suggestions or solutions to this problem>> chooseCRANmirror() >> utils:::menuInstallPkgs() > Warning: unable to access index for repository > http://www.ibiblio.org/pub/languages/R/CRAN/bin/windows/contrib/2.2 > Warning: unable to access index for repository > http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.2 > Error in install.packages(NULL, .libPaths()[1], dependencies = TRUE, > type = type) : > no packages were specifiedBest regards, Peter Arnold, CFA President PRA Investment Counsel, Inc. 704-341-8193 www.prainvestment.com ______________________________________________ R-help at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html ***************************************************************** Confidentiality Note: The information contained in this mess...{{dropped}}
You need to select a repository that is not broken, as that one appears to be (and has been reported before to be). On Fri, 17 Feb 2006, Peter Arnold wrote:> >> To: Anyone Who Can Help > > I am new to R and am trying to install a couple of packages but receive > this warning/error message. Please help by providing suggestions or > solutions to this problem > > >>> chooseCRANmirror() >>> utils:::menuInstallPkgs() >> Warning: unable to access index for repository >> http://www.ibiblio.org/pub/languages/R/CRAN/bin/windows/contrib/2.2 >> Warning: unable to access index for repository >> http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.2 >> Error in install.packages(NULL, .libPaths()[1], dependencies = TRUE, >> type = type) : >> no packages were specified > > > Best regards, > > > > Peter Arnold, CFA > President > PRA Investment Counsel, Inc. > 704-341-8193 > www.prainvestment.com > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
2006/2/17, Peter Arnold <peter at prainvestment.com>:> > > To: Anyone Who Can Help > > >> chooseCRANmirror() > >> utils:::menuInstallPkgs() > > Warning: unable to access index for repository > > http://www.ibiblio.org/pub/languages/R/CRAN/bin/windows/contrib/2.2 > > Warning: unable to access index for repository > > http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.2 > > Error in install.packages(NULL, .libPaths()[1], dependencies = TRUE, > > type = type) : > > no packages were specifiedI cannot help you, but maybe I can help you to help yourself: 1) go to the archiv: http://tolstoy.newcastle.edu.au/~rking/R/about.html 2) I tried with the search term: "Warning: unable to access index for repository" 3) in the result page I took the first entry: (http://tolstoy.newcastle.edu.au/~rking/R/help/05/10/13619.html) 4) which gave me the answer:>I expect you need to set a proxy. This is covered in the rw-FAQ thatwe do ask you to >read before posting. See the item> > The internet download functions fail.5) The rw-FAQ is the Windows FAQ. As I didn't remember where it is, I just looked at the posting guide http://www.R-project.org/posting-guide.html which gave me: 6) http://cran.r-project.org/bin/windows/base/rw-FAQ.html or more exactly: http://cran.r-project.org/bin/windows/base/rw-FAQ.html#The-internet-download-functions-fail_002e I don't know if this helps, but I think these are the steps that you should/could do for yourself before asking on the maillist. Of course it's not always as simple to get the right answers out of the archiv. -- Regards, Hans-Peter