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

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Mon Feb 2 22:24:32 CET 2015


I am not aware that Windows demands double quotes for anything in R. I think the spaces was the problem.
---------------------------------------------------------------------------
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 11:29:20 AM PST, John Kalb <john.kalb at gmail.com> wrote:
>Changing urls to remove spaces and replace single quotes with double
>quotes
>resolved the issue.  Apparently windows demands double quotes.
>
>Thanks for your help.
>
>On Mon, Feb 2, 2015 at 1:50 PM, Jeff Newmiller
><jdnewmil at dcn.davis.ca.us>
>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".
>>
>> 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.
>> >>
>> >>
>>
>>



More information about the R-help mailing list