title: 通过conda安装纯净环境的ggsurvplot tags: [] id: '1820' categories:
conda create -n ggsurvplot -c conda-forge r-base=4.1.3 -y
conda activate ggsurvplot
conda install -c conda-forge r-tidyverse=1.3.1 -y
conda install -c conda-forge r-irkernel -y
conda install -c conda-forge r-survival=3.3_1 -y
conda install -c conda-forge r-survminer=0.4.9 -y
conda install -c conda-forge r-fdrtool -y
R
install.packages('survRM2')
IRkernel::installspec(name='ggsurvplot', displayname='r-ggsurvplot')