安装路径和用户路径中包含中文会出现问题
-
下载和安装R
在CRAN Mirrors选择一个China镜像,点进去就能到下载页面
下载之后双击安装即可 -
下载和安装Rstudio
在Choose Your Version of RStudio中选择下载RStudio Desktop
下载之后双击安装即可 升级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版本