R语言之tidyverse包安装
2021-10-26 本文已影响0人
1884934712f9
浏览了各大网站关于tidyverse包的安装,初步安装成功,教程分享如下,如有不正确的地方还请多多指教
第一步:下载tidyverse包,链接:https://cran.r-project.org/web/packages/tidyverse/index.html,根据电脑的系统进行选择,我的是Windows系统。

第二步:在Rstudio-tools-install packages选择install from package archive file,选择路径,点击install。(这里需要注意下载的文件不要解压)
第三步:安装完毕之后,下载Rtools,链接:https://cran.rstudio.com/bin/windows/Rtools/,版本根据电脑系统而定

第四步:按照网页的操作配置环境变量

第五部:选择一个合适的镜像,我选的是兰州大学

最后:install.packages("tidyverse"),就可以了
如果想要验证是否安装成功,输入:library(tidyverse)
