我无法在R 3.2.0中加载devtools [英] I can't load devtools in R 3.2.0
问题描述
我正在用Rstudio开发R软件包。到目前为止,我使用R 3.1.2,并且一切正常。最近,我已将R更新到3.2.0版本,并且也更新了软件包。现在,在加载devtools时:
I am developping R packages with Rstudio. Until now, I used R 3.1.2 and all worked fine. Recently I have updated R to 3.2.0 version and I have updated the packages too. Now, when loading devtools:
> library(devtools)
Error in inDL(x, as.logical(local), as.logical(now), ...) :
unable to load shared object 'C:/Documents and Settings/cruiz.CREAL/Mis documentos/R/win-library/3.2/git2r/libs/i386/git2r.dll':
LoadLibrary failure: No se encontró el proceso especificado.
Error: package or namespace load failed for ‘devtools’
我有用biocLite和install.packages重新安装了devtools和git2r,但是它不起作用。该文件已经存在,并且在此路径上。
I have reinstalled devtools and git2r with biocLite and with install.packages and it didn't work. This file already exists and it is on this path.
我的R会话信息:
R version 3.2.0 (2015-04-16)
Platform: i386-w64-mingw32/i386 (32-bit)
Running under: Windows XP (build 2600) Service Pack 3
locale:
[1] LC_COLLATE=Spanish_Spain.1252 LC_CTYPE=Spanish_Spain.1252
[3] LC_MONETARY=Spanish_Spain.1252 LC_NUMERIC=C
[5] LC_TIME=Spanish_Spain.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] tools_3.2.0
非常感谢!
推荐答案
我建议以下内容:
-
remove.packages(c( git2r, devtools, rversions))
。
使用我在此帖子中给出的答案中的信息-< a href = https://stackoverflow.com/questions/30219174/r-error-installing-devtools-in-windows/30220882#30220882> R-在Windows中安装Devtools时发生错误,以重新安装devtools。这也应该重新安装所需的依赖项。
Use the information from my answer on this post -- R - Error installing Devtools in Windows to reinstall devtools. This should also reinstall the needed dependencies.
这篇关于我无法在R 3.2.0中加载devtools的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!