官术网_书友最值得收藏!

How to do it...

Once you have the version number, you simply need to install base R onto your computer. The step-by-step procedure is as follows:

  1. Update etc/apt/source.list by adding an entry as follows:
        deb <cran mirror address>/bin/linux/ubuntu trusty/
  1. Replace <cran mirror address> by putting an actual mirror link from the list of available mirrors from https://cran.r-project.org/mirrors.html. Remember that you must have administrator privileges to edit etc/apt/source.list.
  2. Once you have performed the preceding step, type the following command to install R:
      sudo apt-get update
sudo apt-get install r-base
  1. The preceding two commands will complete the installation process and you can check whether R has been installed correctly or not, by typing R and hitting Enter on the Terminal window. If the R console opens, then you are ready to go:
  1. Some of the users may need to compile R packages from the source code. In that case, you will need to install the following component of R:
      sudo apt-get install r-base-dev
Your computer must connect to the internet to install R.
主站蜘蛛池模板: 射阳县| 商城县| 讷河市| 郯城县| 莫力| 木兰县| 南溪县| 营口市| 永新县| 体育| 阿拉善左旗| 永靖县| 洛川县| 囊谦县| 大厂| 行唐县| 闽侯县| 平阴县| 永春县| 荔浦县| 株洲市| 武城县| 吴桥县| 台东市| 南江县| 屏东市| 沅江市| 武安市| 宁强县| 余干县| 玛纳斯县| 上林县| 紫阳县| 岢岚县| 绿春县| 北安市| 来凤县| 乌什县| 瑞安市| 吉首市| 桐柏县|