数据-R语言-图表-决策-Linux-Python

Windows安装R和Rstudio

2018-10-31  本文已影响2人  孟德尔的小豌豆007

安装路径用户路径中包含中文会出现问题

  1. 下载和安装R
    CRAN Mirrors选择一个China镜像,点进去就能到下载页面

    下载页面
    下载之后双击安装即可
  2. 下载和安装Rstudio
    Choose Your Version of RStudio中选择下载RStudio Desktop

    选择RStudio Desktop版本
    选择Windows平台的安装包
    下载之后双击安装即可
  3. 升级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
  1. 切换Rstudio调用的R版本


    Rstudio工具栏中Global Options
    选择R的版本
上一篇 下一篇

猜你喜欢

热点阅读