Skip to content

jiebaR包中的worker()启动不了 #71

@Cathyn4

Description

@Cathyn4

亲, 请填写下面的信息,这样能最快地定位需要解决的问题!不完整填写,客服回复会很慢的亲。

第一,环境信息

在这里填写具体环境信息,可以使用 library(jiebaR); sessionInfo();

第二,全部错误信息
已经使用了两种方法安装jiebaR,但worker()启动不了。
方法一:从CRAN,下载和安装jiebaR包,会出现R/Rstudio运行不出结果,即死机状态;或者出现以下错误提示:Error in jiebaclass_ptr_v2(dict, hmm, user, stop2, uw) :
程序包'Rcpp_precious_remove'不提供'Rcpp'这样的函数
方法二:通过Github安装,在Windows已经安装 Rtools 后,install_github("qinwf/jiebaR")后,显示:
错误: Failed to install 'jiebaR' from GitHub:
无法打开链结
此外: Warning messages:
1: In download.file(url, destfile, method, mode = "wb", ...) :
downloaded length 2977792 != reported length 3262298
2: In unzip(zipname, exdir = dest) : 从zip文件中抽取1时出了错
3: In read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
无法打开压缩文件'Rcpp/DESCRIPTION',可能是因为'No such file or directory'
然后启动worker(),仍然出现Error in jiebaclass_ptr_v2(dict, hmm, user, stop2, uw) :
程序包'Rcpp_precious_remove'不提供'Rcpp'这样的函数

第三,最小可重复代码和数据文件,哪一步的代码出现错误
从CRAN,下载和安装jiebaR后,使用代码:
install.packages("jiebaR")
cutter<-worker()提示错误,或者运行不了
从Github中安装,library(devtools)
install_github("qinwf/jiebaRD")
install_github("qinwf/jiebaR")这一步开始报错。

第四,尝试过用什么方式来解决,可能的问题根源
已经确认加载了JAVA环境,已经下载并安装了rtools40v2-x86_64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions