在具有R Studio最新版本的MacBook上安装/打开软件包dplyr时出现问题

时间:2019-07-20 13:08:48

标签: r macos dplyr anaconda

当我在R上写库(dplyr)之后出现以下消息:

Error: package or namespace load failed for ‘dplyr’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/anaconda3/lib/R/library/rlang/libs/rlang.so':
  dlopen(/anaconda3/lib/R/library/rlang/libs/rlang.so, 6): Library not loaded: /Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libR.dylib
  Referenced from: /anaconda3/lib/R/library/rlang/libs/rlang.so
  Reason: image not found
In addition: Warning message:
package ‘dplyr’ was built under R version 3.4.4

使用macOS Mojave 10.14

我使用以下命令在MacBook上安装了dplyr:

  

install.packages(“ dplyr”,   + repos =“ https://cran.r-project.org”,   + type =“ mac.binary.el-capitan”)

0 个答案:

没有答案