stelladi

R,Rtools,Rstudio下载安装更新_Windows系统

R下载安装


 

检索R官网R: The R Project for Statistical Computing (r-project.org)国内不FQ需要使用国内镜像(在国内的服务器)CRAN mirror

选择Windows版本install R for the first timeThe Comprehensive R Archive Network (tsinghua.edu.cn)选最新版本下载The Comprehensive R Archive Network (tsinghua.edu.cn)(这里选了清华mirror)

 

Rtools下载安装


 

进入The Comprehensive R Archive Network (tsinghua.edu.cn)选择Rtools最新版本下载安装

Rstudio下载安装


 

Posit | The Open-Source Data Science Company找到Rstudio IDE 选择free,下载Desktop for Windows

 

环境变量等配置


包的安装设置国内镜像:Rstudio-tools-global options-packages-设置国内mirror

环境变量设置:此电脑-右键属性-高级系统设置-高级-环境变量-在用户变量和系统变量中都新建R-4.3.1\bin的地址以及包的安装地址、

永久修改默认Package安装地址(非一次性):在R安装路径下的Rprofile.site【在etc】文件内的最后一行加上.libPaths(c(“你想要制定的包的路径”, .libPaths())),比如.libPaths(c("D:/SoftwareDownload/R/R-4.3.2/library", .libPaths()))

R语言社区


 

 

参考资料:

第 2 章 安装与环境配置 | 数据科学中的 R 语言 (bookdown.org)

posted on 2023-08-26 15:36  Stellaself  阅读(698)  评论(0)    收藏  举报

导航