无法使用、加载或安装 RStudio 包 "digest"
RStudio package "digest" cannot be used, loaded, or installed
尝试按照 quanteda
教程进行操作,但我 运行 遇到了程序问题 here;执行以下代码,我收到错误消息,提示我无法解决包的问题。
> require(quanteda)
> require(quanteda.corpora)
> require(ggplot2)
> corp_tweets <- download(url = 'https://www.dropbox.com/s/846skn1i5elbnd2/data_corpus_sampletweets.rds?dl=1')
Error in loadNamespace(name) : there is no package called ‘digest’
包好像不见了,我尝试加载,得到:
> require("digest")
Loading required package: digest
Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called ‘digest’
现在,我再次尝试安装它,但没有成功。
> install.packages("digest")
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/digest_0.6.20.zip'
Content type 'application/zip' length 223139 bytes (217 KB)
downloaded 217 KB
package ‘digest’ successfully unpacked and MD5 sums checked
Warning in install.packages :
cannot remove prior installation of package ‘digest’
The downloaded binary packages are in
C:\Users\my_username\AppData\Local\Temp\Rtmpaunnzu\downloaded_packages
有谁知道如何从这里拿走它?非常感谢您的帮助。
P.S.: This(未回答)问题也没有帮助我。
我唯一能找到的 "solution" 是重新安装 RStudio
。
尝试按照 quanteda
教程进行操作,但我 运行 遇到了程序问题 here;执行以下代码,我收到错误消息,提示我无法解决包的问题。
> require(quanteda)
> require(quanteda.corpora)
> require(ggplot2)
> corp_tweets <- download(url = 'https://www.dropbox.com/s/846skn1i5elbnd2/data_corpus_sampletweets.rds?dl=1')
Error in loadNamespace(name) : there is no package called ‘digest’
包好像不见了,我尝试加载,得到:
> require("digest")
Loading required package: digest
Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called ‘digest’
现在,我再次尝试安装它,但没有成功。
> install.packages("digest")
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/digest_0.6.20.zip'
Content type 'application/zip' length 223139 bytes (217 KB)
downloaded 217 KB
package ‘digest’ successfully unpacked and MD5 sums checked
Warning in install.packages :
cannot remove prior installation of package ‘digest’
The downloaded binary packages are in
C:\Users\my_username\AppData\Local\Temp\Rtmpaunnzu\downloaded_packages
有谁知道如何从这里拿走它?非常感谢您的帮助。
P.S.: This(未回答)问题也没有帮助我。
我唯一能找到的 "solution" 是重新安装 RStudio
。