标签: r macos shell conda rscript
我在 zsh shell 上的 R 版本是 3.6,这与 RStudio 的 4 不同。实际上,使用 Jupyter notebook,R 版本是 conda 使用的版本。事实上,要安装 r 包,我必须运行 conda install -c r r-package_name。所以,这很烦人。如何将 shell 的 Rscript 的 R 版本与 Rstudio 中的一个链接?
conda install -c r r-package_name