CONTEXT:
- Windows XP R 3.1.3 data.table package 1.9.5 (dev.)
- Rtools 3.1
- installed libraries data.table,RCurlinstalled certificate bundle
- and .pem file in RCurl directory, including it in Windows PATH
I'm trying to replicate basic fread() usage.
I was getting SSL certificate error although download.file() works fine with the same URL. Therefore I followed recommendations as shown in stack overflow:
How to use fread() with "https" url scheme?
Now data.table 1.9.5 is installed. I do not get SSL error anymore but find error:
Error in fread("https://raw.githubusercontent.com/wiki/arunsrinivasan/flights/NYCflights14/flights14.csv", : showProgress must be 0 or 1, currently
Here is exactly what I typed in RStudio:
library (data.table)
setInternet2()
options(RCurlOptions = list(cainfo = system.file("CurlSSL", "cacert.pem", package = "RCurl")))
flights <- fread("https://raw.githubusercontent.com/wiki/arunsrinivasan/flights/NYCflights14/flights14.csv")
I also tried forcing showProgress=TRUE or FALSE but still get same error.
 
    