刚刚将R和RStudio升级到
> version
_
platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status
major 3
minor 4.0
year 2017
month 04
day 21
svn rev 72570
language R
version.string R version 3.4.0 (2017-04-21)
nickname You Stupid Darknessrstudio版本是
Version 1.0.143 – © 2009-2016 RStudio, Inc.install.packages("tidyverse")结果:
trying URL 'https://dirichlet.mat.puc.cl/bin/windows/contrib/3.4/tidyverse_1.1.1.zip'
Content type 'application/zip' length 42211 bytes (41 KB)
downloaded 41 KB
package ‘tidyverse’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\...\AppData\Local\Temp\Rtmp6vaNT1\downloaded_packages现在,当尝试加载tidyverse库时:
> library("tidyverse")
Error: package or namespace load failed for ‘tidyverse’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘cellranger’失败。
我可以单独加载所有的包,但由于某种原因不能加载tidyverse包。
发布于 2018-10-13 07:03:19
解决方案是安装一个依赖项:
install.packages("cellranger")(由@neilfws在评论中回答)
发布于 2022-02-09 15:21:31
这将解决您的问题
install.packages('cellranger')
install.packages('tidyverse', type = 'binary') https://stackoverflow.com/questions/44232958
复制相似问题