相关疑难解决方法(0)

clang-7:错误:链接器命令失败,macOS Big Sur 的退出代码为 1

自 Big Sur 以来,安装需要在 macOS 中编译的 R 包已被破坏。这是一个这样的例子。

> install.packages('nlme')

  There is a binary version available but the source version is later:
      binary  source needs_compilation
nlme 3.1-150 3.1-151              TRUE

Do you want to install from sources the package which needs compilation? (Yes/no/cancel) Yes
installing the source package ‘nlme’

trying URL 'https://cran.rstudio.com/src/contrib/nlme_3.1-151.tar.gz'
Content type 'application/x-gzip' length 805592 bytes (786 KB)
==================================================
downloaded 786 KB

* installing *source* package ‘nlme’ ...
** package ‘nlme’ successfully unpacked and MD5 sums checked
** using …
Run Code Online (Sandbox Code Playgroud)

macos r clang macos-big-sur

11
推荐指数
1
解决办法
4272
查看次数

标签 统计

clang ×1

macos ×1

macos-big-sur ×1

r ×1