Do you have to use some proxy server at your work? In that case, please
read the R for Windows FAQs which tells how to arrange settings.
Uwe Ligges
Jin.Li at ga.gov.au wrote:> Hi All,
>
>
>
> I installed R 2.5.1 recently on a PC (Windows XP Professional 2001) and
tried
> to install some R packages. It took several minutes and gave me the
following
> message.
>
>
>
>> utils:::menuInstallPkgs()
>
> --- Please select a CRAN mirror for use in this session ---
>
> Error in open.connection(file, "r") : unable to open connection
>
> In addition: Warning message:
>
> unable to connect to 'cran.r-project.org' on port 80. in:
> open.connection(file, "r")
>
> Error in contrib.url(repos, type) : trying to use CRAN without setting a
> mirror
>
>
>
> I am just wondering whether this problem is caused by restrictions on
> internet imposed by my work unit or caused by something else. If the later,
> how to solve it? Thanks in advance.
>
> Cheers,
>
> Jin
>
> --------------------------------------------
>
> Jin Li, PhD
>
> Spatial Modeller/
>
> Computational Statistician
>
> Marine & Coastal Environment
>
> Geoscience Australia
>
> Ph: 61 (02) 6249 9899
>
> Fax: 61 (02) 6249 9956
>
> email: jin.li at ga.gov.au
>
> --------------------------------------------
>
>
>
>
> [[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.