无法在R中安装Github包
我需要一个位于Github上的包。我知道在R中安装该软件包有多种解决方案 我正在尝试在Windows服务器上安装该软件包。这就是我所尝试的: 解决方案1(基于渐晕图) 我尝试了很多方法来解决这个问题:无法在R中安装Github包,r,windows,github,installation,R,Windows,Github,Installation,我需要一个位于Github上的包。我知道在R中安装该软件包有多种解决方案 我正在尝试在Windows服务器上安装该软件包。这就是我所尝试的: 解决方案1(基于渐晕图) 我尝试了很多方法来解决这个问题: 重新安装Devtools时,请使用CRAN Devtools版本 重新安装R和Rstudio(以管理员身份安装最新版本)() 但还是一样的错误 因此,我尝试了一种变通方法,在我的计算机上安装这些软件包: 解决方案二 从()下载ZIP文件 解压缩ZIP文件 但结果又是一个错误: library(d
library(devtools)
install("path/to/unzipped/file")
library("wordVectors")
Error there is no packages called wordVectors.
有人知道发生了什么吗?我为这个问题挣扎了一整天。非常感谢您的帮助!谢谢
编辑
还(重新)安装了Rtools(最新版本…)
编辑2
根据评论(@DJV)中的要求:
尝试安装。从GitHub问题答案中..谢谢@patL,我们已经安装了Rtools。。。不幸的是,没有结果。我知道这是一个陈词滥调,但您是否尝试过重新启动您的rstudio/计算机(通常在windows中执行此操作)?。另外,请添加
sessionInfo()
?我怀疑R没有看到您的Rtools。安装Rtools时,请确保选中“编辑系统路径”框。然后重新启动RStudio。然后加载库(devtools)
并查看find\u rtools()
返回的内容。这应该是真的。谢谢@neilfws。你知道在哪里可以找到函数吗?它不在covr包中。>库(devtools)>find_rtools()中的find_rtools()错误:无法找到函数“find_rtools”
library(devtools)
install("path/to/unzipped/file")
library("wordVectors")
Error there is no packages called wordVectors.
> sessionInfo()
R version 3.5.2 (2018-12-20)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows Server >= 2012 x64 (build 9200)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets
[6] methods base
loaded via a namespace (and not attached):
[1] compiler_3.5.2 tools_3.5.2