[R] How to enable https for R 3.1.2 on windows 8.1

David Winsemius dwinsemius at comcast.net
Mon Feb 2 20:50:32 CET 2015


On Feb 2, 2015, at 10:50 AM, Jeff Newmiller wrote:

> Cc'd back to the list... I am a bad bet for one-on-one help.
> 
> Showing that your libcurl claims to support HTTPS is progress. I think that at this point you should read the last sentence in the curl FAQ 3.21, which I found by searching for "protocol https not supported or disabled in libcurl".

I have had success accessing https://... urls using the 'downloader' package's `download` function. The ?download page has system-specific details.

-- 
David.
> 
> http://curl.haxx.se/docs/faq.html
> ---------------------------------------------------------------------------
> Jeff Newmiller                        The     .....       .....  Go Live...
> DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
>                                      Live:   OO#.. Dead: OO#..  Playing
> Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
> /Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
> --------------------------------------------------------------------------- 
> Sent from my phone. Please excuse my brevity.
> 
> On February 2, 2015 9:21:05 AM PST, John Kalb <john.kalb at gmail.com> wrote:
>> Honestly.  I ran the search you suggested and didn't find anything that
>> helped.  I did come across the curlVersion function and ran it right
>> after
>> receiving the error message.  It seems to indicate that https is
>> available.  I don't see a way forward.
>> 
>> Error in function (type, msg, asError = TRUE)  :
>> Protocol " https" not supported or disabled in libcurl
>>> curlVersion()$protocol
>> [1] "dict"   "file"   "ftp"    "ftps"   "gopher" "http"   "https" 
>> "imap"
>> "imaps"  "ldap"
>> [11] "pop3"   "pop3s"  "rtmp"   "rtsp"   "scp"    "sftp"   "smtp"  
>> "smtps"
>> "telnet" "tftp"
>> 
>> On Sun, Feb 1, 2015 at 1:58 PM, Jeff Newmiller
>> <jdnewmil at dcn.davis.ca.us>
>> wrote:
>> 
>>> Honestly? Did you try "rcurl https windows" (without the quotes)?
>>> 
>> ---------------------------------------------------------------------------
>>> Jeff Newmiller                        The     .....       .....  Go
>> Live...
>>> DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live
>>> Go...
>>>                                      Live:   OO#.. Dead: OO#.. 
>> Playing
>>> Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
>>> /Software/Embedded Controllers)               .OO#.       .OO#. 
>> rocks...1k
>>> 
>> ---------------------------------------------------------------------------
>>> Sent from my phone. Please excuse my brevity.
>>> 
>>> On February 1, 2015 8:56:00 AM PST, John Kalb <john.kalb at gmail.com>
>> wrote:
>>>> I run the code below successfully on Mac and Ubuntu successfully.
>>>> When I run on Windows, I get the results shown.  How do I get the
>> code
>>>> to work on Windows? I've googled extensively with no success. Thanks
>>>> in advance.
>>>> 
>>>> require(twitteR)
>>>> 
>>>> Loading required package: twitteR
>>>> Loading required package: ROAuth
>>>> Loading required package: RCurl
>>>> Loading required package: bitops
>>>> Loading required package: rjson
>>>>> cred <- OAuthFactory $ new( consumerKey = my.key, consumerSecret =
>>>> my.secret, requestURL =' https:// api.twitter.com/ oauth/
>>>> request_token', accessURL =' https:// api.twitter.com/ oauth/
>>>> access_token', authURL =' https:// api.twitter.com/ oauth/
>> authorize')
>>>>> cred$handshake(cainfo =
>> "C:/users/john/documents/twitter/cacert.pem")
>>>> Error in function (type, msg, asError = TRUE)  :
>>>> Protocol " https" not supported or disabled in libcurl
>>>> 
>>>>      [[alternative HTML version deleted]]
>>>> 
>>>> ______________________________________________
>>>> 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.
>>> 
>>> 
> 
> ______________________________________________
> 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.

David Winsemius
Alameda, CA, USA



More information about the R-help mailing list