Windows安装R和Rstudio
2018-10-31 本文已影响2人
孟德尔的小豌豆007

安装路径和用户路径中包含中文会出现问题
-
下载和安装R
在CRAN Mirrors选择一个China镜像,点进去就能到下载页面
下载页面
下载之后双击安装即可 -
下载和安装Rstudio
在Choose Your Version of RStudio中选择下载RStudio Desktop
选择RStudio Desktop版本
选择Windows平台的安装包
下载之后双击安装即可 -
升级R
可借助installr方便的直接升级
install.packages('installr')
library("installr")
updateR() # this will open dialog boxes to take you through the steps.
# OR use:
# updateR(TRUE) # this will use common defaults and will be the safest/fastest option
-
切换Rstudio调用的R版本
Rstudio工具栏中Global Options
选择R的版本