>>>>> Rui Barradas <ruipbarra...@sapo.pt>
>>>>>     on Mon, 17 Jul 2017 09:03:33 +0100 writes:

    > Hello,
    > R 3.4.1 on Windows 7, sessionInfo at the end.
    > Is there a problem with install.packages? Since last friday every time I 
    > try to install a package in RGui, I start by choosing the CRAN mirror 
    > Cloud-0 and RGui hangs. So I restart RGui and choose Portugal (Lisbon) 
    > and get the following warning after a long while (minutes).

As (I think) you notice below yourself, the problem is not with
the regular CRAN repos but with the  'CRANextra'  repos that
R users of Windows use sometimes.

We had heard offline of a potential timeout/downtime for a short
period at Oxford for that, so this may be the simple explanation.

On the other hand everything ends up working fine,
so all this is just a warning, right?

If I do the same thing I don't have to wait and get the same
warning as you (and when I then decide to use the older *binary*
for igraph that is installed fine).


    > install.packages("igraph")
    > --- Please select a CRAN mirror for use in this session ---
    > Warning: unable to access index for repository 
    > http://www.stats.ox.ac.uk/pub/RWin/src/contrib:
    > cannot open URL 'http://www.stats.ox.ac.uk/pub/RWin/src/contrib/PACKAGES'
    > Warning: unable to access index for repository 
    > http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.4:
    > cannot open URL 
    > 'http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.4/PACKAGES'

    > There is a binary version available but the source version is later:
    > binary source needs_compilation
    > igraph  1.0.1  1.1.1              TRUE

    > Do you want to install from sources the package which needs compilation?
    > y/n: y
    > installing the source package ‘igraph’

    > trying URL 
    > Content type 'application/x-gzip' length 3376077 bytes (3.2 MB)
    > downloaded 3.2 MB
    > [...]

    > The rest of the process goes on with success.
    > The problem seems to be with 

    > When I check
    >> options("repos")
    > $repos
    > CRAN                            CRANextra
    > "http://cran.radicaldevelop.com"; "http://www.stats.ox.ac.uk/pub/RWin";

    > I'm lead to think that install.packages should try 
    > "http://cran.radicaldevelop.com"; first, only in case of failure CRANextra.

    > What is going on?

    >> sessionInfo()
    > R version 3.4.1 (2017-06-30)
    > Platform: x86_64-w64-mingw32/x64 (64-bit)
    > Running under: Windows 7 x64 (build 7601) Service Pack 1

    > Matrix products: default

    > locale:
    > [1] LC_COLLATE=Portuguese_Portugal.1252 
    > LC_CTYPE=Portuguese_Portugal.1252
    > [3] LC_MONETARY=Portuguese_Portugal.1252 LC_NUMERIC=C 

    > [5] LC_TIME=Portuguese_Portugal.1252

    > attached base packages:
    > [1] stats     graphics  grDevices utils     datasets  methods   base

    > other attached packages:
    > [1] igraph_1.0.1

    > loaded via a namespace (and not attached):
    > [1] compiler_3.4.1 magrittr_1.5   tools_3.4.1

    > Thanks in advance,

    > Rui Barradas

    > ______________________________________________
    > R-devel@r-project.org mailing list
    > https://stat.ethz.ch/mailman/listinfo/r-devel

R-devel@r-project.org mailing list

Reply via email to