4

getForm を使用して、API からデータを繰り返しプルしています。プログラムが終了する場合もあれば、何度か繰り返した後に次のエラー メッセージが表示される場合もあります。

Error in curlPerform(url = url, curl = curl, .opts = .opts) : 
attempt to apply non-function
In addition: There were more than 50 warnings (use warnings() to see the first 50)
> traceback()
5: .Call("R_curl_easy_perform", curl, .opts, isProtected, .encoding, 
   PACKAGE = "RCurl")
4: curlPerform(url = url, curl = curl, .opts = .opts)
3: getURLContent(uri, .opts = .opts, .encoding = .encoding, binary = binary, 
   curl = curl)
2: getForm("https://xx", .params = parval)
1: fromJSON(getForm("https://xx", 
   .params = parval)) at #32

警告は次のとおりです。

In RCurlIconv(str, from = "C99", to = encoding) :
UTF-8 not supported iconv entries

ご協力いただきありがとうございます!

4

1 に答える 1

3

これは単なるダウンロードエラーであり、ダウンロードが失敗することがあります。その場合は、ダウンロードを再試行するための準備をしました。

于 2012-06-27T14:13:21.470 に答える