作者jklkj (誠實可靠小郎君)
看板R_Language
標題Re: [問題] RGoogleAnalytics
時間Mon Dec 28 18:32:02 2015
※ 引述《jklkj (誠實可靠小郎君)》之銘言:
: 標題: [問題] RGoogleAnalytics
: 時間: Mon Dec 28 11:53:45 2015
:
: [軟體熟悉度]:
: 入門(寫過其他程式,只是對語法不熟悉)
:
: [問題敘述]:
: 不知道大家有用這個R的套件嗎
: 我已經成功library了
: 可是我用QueryBuilder
: 都會出現錯誤
:
: [程式範例]:
: > QueryBuilder(帳號@gmail.com)
: Error in QueryBuilder(帳號@gmail.com) : object '帳號' not found
: > QueryBuilder()
: Error in QueryBuilder() :
: argument "query.params.list" is missing, with no default
:
: [環境敘述]:
: 我的R是3.2.3版的
:
: [關鍵字]:
: RGoogleAnalytics
:
: --
: ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 61.222.32.250
: ※ 文章網址: https://www.ptt.cc/bbs/R_Language/M.1451274827.A.667.html
: → celestialgod: QueryBuilder("帳號@gmail.com") 12/28 12:40
: → celestialgod: 你要先Init才能做Query 12/28 12:42
: → celestialgod: ?Init吧,另外,忽略第一個推文 12/28 12:42
: → celestialgod: QueryBuilder(Init()) 12/28 12:44
: → celestialgod: http://tinyurl.com/h7enbaj 12/28 12:45
我申請了Google DevelopersConsloe的憑證
https://www.dropbox.com/s/l3t10vbpz4dwtf9/test1.png?dl=0
client.id <- "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercon
client.secret <- "xxxxxxxxxxxxxxxxxxxxxxxx"
token <- Auth('client.id','client.secret')
Use a local file to cache OAuth access credentials between R sessions?
1: Yes
2: No
Selection: Yes
Waiting for authentication in browser...
Press Esc/Ctrl + C to abort
可是我選Yes
網頁就會連到Error
https://www.dropbox.com/s/39qmg4of8poshz8/test2.png?dl=0
請問我是哪裡出錯了
感謝
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 27.105.104.4
※ 文章網址: https://www.ptt.cc/bbs/R_Language/M.1451298728.A.972.html
→ celestialgod: 善用編輯E去修改文章 12/28 20:10
→ celestialgod: 這個我就不知道了 我沒有玩過這個套件... 12/28 20:10