RGoogleAnalytics入门

时间:2014-08-28 15:47:26

标签: r

我运行了以下代码(根据http://online-behavior.com/analytics/r)但得到了错误

 Error in QueryBuilder() : 
     argument "query.params.list" is missing, with no default

所有软件包安装成功,并且谷歌搜索错误没有产生有用的建议。有什么指针吗?感谢。

 # run <sudo apt-get install libcurl4-openssl-dev> beforehand
 rm(list=ls())
 setwd('~')
 install.packages(c("RCurl", "httr" , "rjson" , "RGoogleAnalytics", "ggplot2","plyr", 
               "gridExtra", "reshape" , "RColorBrewer"))

 require("RCurl")
 require("rjson")
 require("ggplot2")
 require("plyr")
 require("gridExtra")
 require("reshape")
 require("RGoogleAnalytics")

 query <- QueryBuilder()
 access_token <- query$authorize()

0 个答案:

没有答案