Re: [R] Version 3.2.3: package not available error with https

2016-03-01 Thread Loris Bennett
Hi Bjørn-Helge,

Bjørn-Helge Mevik  writes:

> Loris Bennett  writes:
>
>> It seems that R needs libcurl 7.28.0, but my platform (Scientific Linux
>> 6.7) only provides version 7.19.7.
>
> We got "bit" by this when upgrading to 3.2.2.  If you cannot upgrade
> libcurl on your machine(s), you can put
>
> local({
> options(useHTTPS = FALSE)
> })
>
> in the Rprofile.site file, or your ~/.Rprofile.  You still get a
> warning, but you do get the list of http repositories.

Thanks for the hint.  I think I'll use the setting Rprofile.site for the
time being until we get an update of libcurl.

> Come to think about it: would it be an idea if R defaulted to useHTTPS =
> FALSE if capabilites("libcur") is FALSE?

+1

Cheers,

Loris

-- 
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin Email loris.benn...@fu-berlin.de

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.

Re: [R] Version 3.2.3: package not available error with https

2016-03-01 Thread Bjørn-Helge Mevik
Loris Bennett  writes:

> It seems that R needs libcurl 7.28.0, but my platform (Scientific Linux
> 6.7) only provides version 7.19.7.

We got "bit" by this when upgrading to 3.2.2.  If you cannot upgrade
libcurl on your machine(s), you can put

local({
options(useHTTPS = FALSE)
})

in the Rprofile.site file, or your ~/.Rprofile.  You still get a
warning, but you do get the list of http repositories.

Come to think about it: would it be an idea if R defaulted to useHTTPS =
FALSE if capabilites("libcur") is FALSE?

-- 
Regards,
Bjørn-Helge Mevik

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.

Re: [R] Version 3.2.3: package not available error with https

2016-02-29 Thread Divakar Reddy
Hi,

I'm not sure about your OS but I fixed while installing below packages on
CentOS for RCurl

yum install curl
yum install curl-devel

Thanks,
Divakar

On Mon, Feb 29, 2016 at 6:32 AM, Loris Bennett 
wrote:

> Duncan Murdoch  writes:
>
> > On 29/02/2016 6:09 AM, Loris Bennett wrote:
> >> Hi,
> >>
> >> I recently installed version 3.2.3.  When I call
> >>
> >> install.packages("RCurl")
> >>
> >> I get a pop-up menu labelled "HTTPS CRAN Mirror" with a shortish list of
> >> mirrors.  However, I don't seem to be able to reach any of these
> >> mirrors, and always get an error like the following
> >>
> >> Error in download.file(url, destfile = f, quiet = TRUE) :
> >>unsupported URL scheme
> >> Warning: unable to access index for repository
> https://cran.uni-muenster.de/src/contrib:
> >>unsupported URL scheme
> >
> > That error message suggests the problem is in your build, e.g. possibly
> an out
> > of date or missing libcurl.  What does capabilities("libcurl") say?
>
> FALSE
>
> It seems that R needs libcurl 7.28.0, but my platform (Scientific Linux
> 6.7) only provides version 7.19.7.
>
> Thanks for the pointer.
>
> Loris
>
> > Duncan Murdoch
> >
> >
> >> Warning message:
> >> package ‘RCurl’ is not available (for R version 3.2.3)
> >>
> >> If I choose the menu entry "(HTTP mirrors)" I get the list of HTTP
> >> mirrors with which I am familiar from previous versions of R.  These
> >> mirrors I can reach.
> >>
> >> I assume I have some local, probably firewall-related problem, but can
> >> someone confirm that the HTTPS mirrors do indeed work?
> >>
> >> Cheers,
> >>
> >> Loris
> >>
>
> --
> Dr. Loris Bennett (Mr.)
> ZEDAT, Freie Universität Berlin Email loris.benn...@fu-berlin.de
>
> __
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.
>

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.

Re: [R] Version 3.2.3: package not available error with https

2016-02-29 Thread Loris Bennett
Duncan Murdoch  writes:

> On 29/02/2016 6:09 AM, Loris Bennett wrote:
>> Hi,
>>
>> I recently installed version 3.2.3.  When I call
>>
>> install.packages("RCurl")
>>
>> I get a pop-up menu labelled "HTTPS CRAN Mirror" with a shortish list of
>> mirrors.  However, I don't seem to be able to reach any of these
>> mirrors, and always get an error like the following
>>
>> Error in download.file(url, destfile = f, quiet = TRUE) :
>>unsupported URL scheme
>> Warning: unable to access index for repository 
>> https://cran.uni-muenster.de/src/contrib:
>>unsupported URL scheme
>
> That error message suggests the problem is in your build, e.g. possibly an out
> of date or missing libcurl.  What does capabilities("libcurl") say?

FALSE

It seems that R needs libcurl 7.28.0, but my platform (Scientific Linux
6.7) only provides version 7.19.7.

Thanks for the pointer.

Loris

> Duncan Murdoch
>
>
>> Warning message:
>> package ‘RCurl’ is not available (for R version 3.2.3)
>>
>> If I choose the menu entry "(HTTP mirrors)" I get the list of HTTP
>> mirrors with which I am familiar from previous versions of R.  These
>> mirrors I can reach.
>>
>> I assume I have some local, probably firewall-related problem, but can
>> someone confirm that the HTTPS mirrors do indeed work?
>>
>> Cheers,
>>
>> Loris
>>

-- 
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin Email loris.benn...@fu-berlin.de

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.

Re: [R] Version 3.2.3: package not available error with https

2016-02-29 Thread Duncan Murdoch

On 29/02/2016 6:09 AM, Loris Bennett wrote:

Hi,

I recently installed version 3.2.3.  When I call

install.packages("RCurl")

I get a pop-up menu labelled "HTTPS CRAN Mirror" with a shortish list of
mirrors.  However, I don't seem to be able to reach any of these
mirrors, and always get an error like the following

Error in download.file(url, destfile = f, quiet = TRUE) :
   unsupported URL scheme
Warning: unable to access index for repository 
https://cran.uni-muenster.de/src/contrib:
   unsupported URL scheme


That error message suggests the problem is in your build, e.g. possibly 
an out of date or missing libcurl.  What does capabilities("libcurl") say?


Duncan Murdoch



Warning message:
package ‘RCurl’ is not available (for R version 3.2.3)

If I choose the menu entry "(HTTP mirrors)" I get the list of HTTP
mirrors with which I am familiar from previous versions of R.  These
mirrors I can reach.

I assume I have some local, probably firewall-related problem, but can
someone confirm that the HTTPS mirrors do indeed work?

Cheers,

Loris



__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.

Re: [R] Version 3.2.3: package not available error with https

2016-02-29 Thread Martin Maechler
> Loris Bennett 
> on Mon, 29 Feb 2016 12:09:14 +0100 writes:

> Hi, I recently installed version 3.2.3.  When I call

> install.packages("RCurl")

> I get a pop-up menu labelled "HTTPS CRAN Mirror" with a
> shortish list of mirrors.  However, I don't seem to be
> able to reach any of these mirrors, and always get an
> error like the following

> Error in download.file(url, destfile = f, quiet = TRUE) :
> unsupported URL scheme Warning: unable to access index for
> repository https://cran.uni-muenster.de/src/contrib:
> unsupported URL scheme Warning message: package ‘RCurl’ is
> not available (for R version 3.2.3)

> If I choose the menu entry "(HTTP mirrors)" I get the list
> of HTTP mirrors with which I am familiar from previous
> versions of R.  These mirrors I can reach.

> I assume I have some local, probably firewall-related
> problem, 

yes.  I assume other may help you *if* give a bit more
information than just your version of R.

> but can someone confirm that the HTTPS mirrors do indeed work?

Sure, I confirm.  They are nowadays used by default by probably
100s of 1000s of R users.

Martin Maechler, ETH Zurich

> Cheers,

> Loris

> -- 
> Dr. Loris Bennett (Mr.)  ZEDAT, Freie Universität Berlin
> Email loris.benn...@fu-berlin.de

> __
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and
> more, see 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.

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.