Loris Bennett
2016-Feb-29 13:32 UTC
[R] Version 3.2.3: package not available error with https
Duncan Murdoch <murdoch.duncan at gmail.com> 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.bennett at fu-berlin.de
Divakar Reddy
2016-Feb-29 13:40 UTC
[R] Version 3.2.3: package not available error with https
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 <loris.bennett at fu-berlin.de> wrote:> Duncan Murdoch <murdoch.duncan at gmail.com> 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.bennett at fu-berlin.de > > ______________________________________________ > R-help at 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]]
Bjørn-Helge Mevik
2016-Mar-01 08:26 UTC
[R] Version 3.2.3: package not available error with https
Loris Bennett <loris.bennett at fu-berlin.de> 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
Loris Bennett
2016-Mar-01 09:20 UTC
[R] Version 3.2.3: package not available error with https
Hi Bj?rn-Helge, Bj?rn-Helge Mevik <b.h.mevik at usit.uio.no> writes:> Loris Bennett <loris.bennett at fu-berlin.de> 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.bennett at fu-berlin.de