请教个问题:
用的rjson包,fromJSON(file = “https://~~~”)
报错:“Error in file(con, “r”) : for https:// URLs use setInternet2(TRUE)”
成功读取过json文件(1条数据),但我需要写循环从不同的url中提取n条数据。
请问上面报错如何解决?查看了?fromJSON,其中”file:the name of a file to read the json_str from; this can also be a URL. Only one of json_str or file must be supplied.”