【发布时间】:2015-07-17 04:33:01
【问题描述】:
我正在使用一种算法 R,它调用一个对数据库进行查询并返回 JSON 对象的 Web 服务。
url <- "https://example.com?id=1"
json_file <- "C:/xampp/htdocs/example/Download/data.json"
download.file(url, json_file)
document <- fromJSON(json_file)
在我的机器上,当我进入服务器并运行时,算法通常运行不佳,我收到以下错误:
Error in download.file(url, json_file) : unsupported URL scheme
url 是 https 有问题吗?
【问题讨论】:
标签: json r web-services ubuntu