R 3.2.2:"rjson";和"RJSONIO"软件包已安装,但使用"fromJSON"时出错 [英] R 3.2.2: "rjson" and "RJSONIO" package installed, but error using "fromJSON"

查看:359
本文介绍了R 3.2.2:"rjson";和"RJSONIO"软件包已安装,但使用"fromJSON"时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用"fromJSON"命令时遇到了很多麻烦.我正在尝试使用其API收集instagram数据,并且此命令不起作用.我正在使用R,并且安装了两个用于将JSON转换为R的程序包,但我不断收到以下错误:错误:找不到函数"fromJSON"

I've been having a lot of trouble using the "fromJSON" command. I'm trying to collect instagram data using their API, and this command isn't working. I'm using R and I have both packages for converting JSON to R installed, but I keep getting the following error: Error: could not find function "fromJSON"

我将R Studio和R 3.2.2用于Windows 8 x64.我尝试搜索,但找不到解决方案.任何帮助,将不胜感激.

I use R Studio and R 3.2.2 for Windows 8 x64. I tried searching and couldn't find a solution. Any help would be appreciated.

推荐答案

如果您刚刚安装了软件包,请尝试使用rjson :: fromJSON()而不是fromJSON()

If you just installed the package, try rjson::fromJSON() instead of just fromJSON()

这篇关于R 3.2.2:"rjson";和"RJSONIO"软件包已安装,但使用"fromJSON"时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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