[R] uninstalled and reinstalled R, now cannot install packages

河内亮太 ryota.kawauchi at gmail.com
Wed Oct 1 11:41:52 CEST 2014


Hi,

If your PC connects Internet via proxy server, you have to run
Rgui.exe with option "--Internet2" (i.e. Rgui.exe --Internet2).

If my suggestion doesn't make sense,     please ignore.

rgds.

---
Ryota Kawauchi

2014/10/01 13:39、Sarah Hardy <sarah.hardy �� maine.edu> のメッセージ:

> Hello,
>
> I have a student (running Windows 8) who ran into a problem installing the
> RcmdrPlugin.IPSUR package and, despite instructions to the contrary,
> uninstalled R and reinstalled. He uninstalled it using the Windows 8
> utility. Now he cannot install any packages.
>
> Here are the error messages he gets when he gets when he trys to use the
> menu to install a package:
>> utils:::menuInstallPkgs()
> --- Please select a CRAN mirror for use in this session ---
> Warning: unable to access index for repository
> http://cran.mirrors.hoobly.com/bin/windows/contrib/3.1
> Warning: unable to access index for repository
> http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.1
> Error in install.packages(NULL, .libPaths()[1L], dependencies = NA, type =
> type) :
>  no packages were specified
> In addition: Warning message:
> In open.connection(con, "r") :
>  unable to connect to 'cran.r-project.org' on port 80.
>
> Here are the messages he gets when using the install.packages command (it
> doesn't matter what package he tries to install):
>
>> install.packages("rpart")
> Installing package into
> ‘C:/Users/michael.bottai/Documents/R/win-library/3.1’
> (as ‘lib’ is unspecified)
> Warning: unable to access index for repository
> http://cran.mirrors.hoobly.com/bin/windows/contrib/3.1
> Warning: unable to access index for repository
> http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.1
> Warning message:
> package ‘rpart’ is not available (for R version 3.1.1)
>
> Any help will be greatly appreciated!
>
> Thank you,
> Sarah
>
>
> --
> Sarah Hardy, PhD
> Associate Professor of Mathematics
> University of Maine Farmington
> 207-778-7124    Office: Brinkman 100
>
>    [[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.



More information about the R-help mailing list