conda配置R语言环境

参考资料

  1. R语言教程
    https://bookdown.org/wangminjie/R4DS/baseR-intro-ds.html
  2. mamba安装
    https://zhuanlan.zhihu.com/p/405955748
  3. anaconda镜像使用
    https://mirrors.tuna.tsinghua.edu.cn/help/anaconda/
  4. jupyter lab使用R语言
    https://zhuanlan.zhihu.com/p/350149289

在conda中安装R

conda install -c conda-forge mamba
conda create -n lyenv
conda activate lyenv
mamba install 
mamba install -c conda-forge r-base  r-essentials
mamba install -c condo-forge jupyterlab

激活R语言环境,配置jupyter-kernel

install.packages('IRkernel')
IRkernel::installspec(user = FALSE)

在conda prompt中启动

jupyter lab
posted @ 2023-03-01 20:17  裏表異体  阅读(222)  评论(0编辑  收藏  举报