我用的是2.15.3的R。Rweibo成功安装了,授权也成功了。
下面语句运行都没问题:
install.packages("Rweibo", repos="http://R-Forge.R-project.org")
require(Rweibo)
registerApp(app_name = "newtest", "**********", "***********************************")
roauth <- createOAuth(app_name = "newtest", access_name = "lixinmk",forcelogin=TRUE)
res1 <- statuses.public_timeline(roauth, count = 5)
但是一运行res11 <- web.search.content("RäÛ", page = 2, combinewith = NULL),就报错:
错误于fromJSON(weibojson) :
CHAR() can only be applied to a 'CHARSXP', not a 'pairlist'