R代码出错:未使用的参数

时间:2016-10-24 12:55:28

标签: r

我是R-script的新手,我的任务是获取谷歌学者所有出版物的摘要。

附件是代码段:

library(scholar)
ids <- c("rrlucpQAAAAJ", "6Cak1YIAAAAJ")
compare_scholars(ids, pagesize = 100)
a <- get_publications(ids, cstart = 0, pagesize = 1000, flush = FALSE)

执行正在给出错误

compare_scholars(ids, pagesize = 100)
Error in compare_scholars(ids, pagesize = 100) : 
unused argument(s) (pagesize = 100)
>   a <- get_publications(ids, cstart = 0, pagesize = 1000, flush = FALSE)
Error in get_publications(ids, cstart = 0, pagesize = 1000, flush = FALSE) : 
unused argument(s) (cstart = 0, pagesize = 1000, flush = FALSE)

任何帮助都将非常感谢!!!

0 个答案:

没有答案