3

I am trying to load data from website that are in JSON format so I am using jsonlite R package and fromJSON function. I receive an error as below

library(jsonlite)
fromJSON(URL) -> x
Error in open.connection(con, "rb") : SSL connect error

Does anyone know what this error mean and how to (probably) configure SSL to makethis function work?

Marcin
  • 7,834
  • 8
  • 52
  • 99
  • Just hit this myself. If I paste the URL into a browser it works fine. Even in a fresh incognito wndow – kdopen Sep 21 '16 at 17:36

1 Answers1

0

Update to version 1.2 of the jsonlite package. This was a bug fixed by the new version of the package. Read more at https://ropensci.org/blog/technotes/2017/01/04/jsonlite-12.

L P
  • 311
  • 1
  • 3
  • 10