在R中安装情绪包时遇到问题 [英] Facing issues while installing sentiment package in R

查看:111
本文介绍了在R中安装情绪包时遇到问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我在R中执行Twitter情绪分析时遇到问题。情绪包没有安装。因此,我无法获得极性情节。错误消息是版本3.6支持情绪包。我也试过使用版本3.3和3.5。



我尝试过:



我尝试使用以下代码:



install.packages(devtools)

require(devtools)

install_url(http://cran.r-project.org/src/contrib/Archive/sentiment/sentiment_0.2.tar.gz)



if(!require(sentiment))install_url(http://cran.r-project.org/src/contrib/Archive/Rstem/Rstem_0.4-1.tar.gz)

Hi Guys, I have a problem while performing twitter sentiment analysis in R. The sentiment package is not getting installed. And because of this, I am unable to get the polarity plot. The error message is "sentiment package is supported for version 3.6". I have also tried using version 3.3 and 3.5.

What I have tried:

I have tried using the below code:

install.packages("devtools")
require(devtools)
install_url("http://cran.r-project.org/src/contrib/Archive/sentiment/sentiment_0.2.tar.gz")

if(!require(sentiment)) install_url("http://cran.r-project.org/src/contrib/Archive/Rstem/Rstem_0.4-1.tar.gz")

推荐答案

我们不是他们的支持服务,请联系他们或作者。
We are not their support service, try to contact them or the author.


这篇关于在R中安装情绪包时遇到问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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