0
我试图在R中安装pattern.nlp包,但有几个错误正在经历。这个软件包用于python库,所以我改变了环境变量的路径。但在运行下面的代码时,我收到错误。无法在R中安装pattern.nlp包
$
x <- pattern_sentiment("i really really hate iphones", language = "english")
Error in data.table::setDF(score) :
All elements in argument 'x' to 'setDF' must be of same length
In addition: Warning messages:
1: In pyConnectionCheck() : R isn't connected to Python!
2: In pyConnectionCheck() : R isn't connected to Python!
3: In pyConnectionCheck() : R isn't connected to Python!
4: In pyConnectionCheck() : R isn't connected to Python!
$