Unable to use the setup_twitter_oauth() function in R to work with twitter -
i trying use twitter package in r , have installed required packages viz :install.packages("twitter", "rcurl", "rjsonio", "stringr") loaded them well. when try set twitter connection using setup_twitter_oauth(api_key, api_secret, token, token_secret) command required parameters , error : error: not find function "setup_twitter_oauth" don't know problem.please help.
edit: following result of sessioninfo() command : > sessioninfo() r version 3.1.2 (2014-10-31) platform: x86_64-w64-mingw32/x64 (64-bit) locale: [1] lc_collate=english_india.1252 lc_ctype=english_india.1252 [3] lc_monetary=english_india.1252 lc_numeric=c [5] lc_time=english_india.1252 attached base packages: [1] stats graphics grdevices utils datasets methods base other attached packages: [1] rfacebook_0.5 rlinkedin_0.1 tm_0.6 nlp_0.1-6 [5] wordcloud_2.5 rcolorbrewer_1.0-5 xml_3.98-1.1 httpuv_1.3.2 [9] devtools_1.6.1 httr_0.5 stringr_0.6.2 rjsonio_1.3-0 [13] plyr_1.8.1 twitter_1.1.7 rjson_0.2.15 roauth_0.9.3 [17] digest_0.6.4 rcurl_1.95-4.4 bitops_1.0-6 loaded via namespace (and not attached): [1] bradleyterry2_1.0-5 brglm_0.5-9 car_2.0-22 caret_6.0-37 [5] codetools_0.2-9 colorspace_1.2-4 foreach_1.4.2 ggplot2_1.0.0 [9] grid_3.1.2 gtable_0.1.2 gtools_3.4.1 iterators_1.0.7 [13] lattice_0.20-29 lme4_1.1-7 mass_7.3-35 matrix_1.1-4 [17] minqa_1.2.4 munsell_0.4.2 nlme_3.1-118 nloptr_1.0.4 [21] nnet_7.3-8 parallel_3.1.2 proto_0.3-10 rcpp_0.11.3 [25] reshape2_1.4 scales_0.2.4 slam_0.1-32 splines_3.1.2 [29] tools_3.1.2
install.packages("base64inc") worked me. can try twitter:::setup_twitter_oauth(), worked me.
Comments
Post a Comment