R 的 OAuth 访问 [英] OAuth access for R

查看:52
本文介绍了R 的 OAuth 访问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 R 来获取一些需要 OAuth 身份验证的 Web 数据.在 CRAN 和 RSeek.org 上搜索有关 OAuth + R 的信息一无所获.使用 OAuth 使用 R 访问 RESTful API 的任何提示?

I'm trying to use R to grab some web data that requires OAuth authentication. Searching on CRAN and RSeek.org for info on OAuth + R provides nothing. Any tips for accessing RESTful APIs with R using OAuth?

我正在考虑使用一些 Python/Perl/Ruby 来获取数据,将其保存到文本文件中,然后使用 R 进行处理.我更愿意完全留在 R 中,但似乎 OAuth 是一种障碍.

I'm considering using some Python/Perl/Ruby to grab the data, save it to a text file, then work on it with R. I'd prefer to stay totally in R, but it seems like OAuth is a barrier.

推荐答案

原来来自 TwitteR 的 Jeff Gentry 编写了他自己的 OAuth R 库.

Turns out Jeff Gentry from TwitteR wrote his own OAuth R library.

http://cran.r-project.org/web/packages/ROAuth/index.html

这篇关于R 的 OAuth 访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆