当我尝试使用命令library(Seurat)
时,出现一条错误消息,告诉我“没有安装称为pillar的软件包”。但是,我这样做已经安装了支柱软件包:我已经多次检查了packages文件夹。错误的全文是:
错误:在loadNamespace(j <-i [[1L]],c(lib.loc,.libPaths()),versionCheck = vI [[j]])中,“ Seurat”的包或名称空间加载失败: 没有名为“支柱”的软件包
此外,我尝试通过命令devtools::install_github("r-lib/pillar")
重新下载支柱,但这似乎也不起作用。这可能是因为,每次尝试此操作都会返回以下消息:
installing the source package ‘pillar’
trying URL 'https://cran.rstudio.com/src/contrib/pillar_1.4.6.tar.gz'
Content type 'application/x-gzip' length 113884 bytes (111 KB)
==================================================
downloaded 111 KB
dyld: lazy symbol binding failed: Symbol not found: _utimensat
Referenced from: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libR.dylib (which was built for Mac OS X 10.13)
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: _utimensat
Referenced from: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libR.dylib (which was built for Mac OS X 10.13)
Expected in: /usr/lib/libSystem.B.dylib
/Library/Frameworks/R.framework/Resources/bin/INSTALL: line 34: 1816 Done echo 'tools:::.install_packages()'
1817 Abort trap: 6 | R_DEFAULT_PACKAGES= LC_COLLATE=C "${R_HOME}/bin/R" $myArgs --no-echo --args ${args}
**Warning in install.packages :
installation of package ‘pillar’ had non-zero exit status**
The downloaded source packages are in
‘/private/var/folders/r8/9lw5sbl5549_bw2qlv3y24580000gn/T/Rtmpa5vp68/downloaded_packages’
非常感谢您解决此问题的任何帮助。预先感谢!