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

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.
主站蜘蛛池模板: 武乡县| 清新县| 文登市| 江口县| 正宁县| 武穴市| 金华市| 哈巴河县| 宝鸡市| 金沙县| 资源县| 武陟县| 西青区| 洛扎县| 阳信县| 朝阳市| 喜德县| 枝江市| 浙江省| 武城县| 定襄县| 太仓市| 隆德县| 仙游县| 苏尼特左旗| 威信县| 双峰县| 武平县| 容城县| 北辰区| 拜城县| 大关县| 夏邑县| 南汇区| 宁波市| 侯马市| 时尚| 内丘县| 万安县| 偃师市| 寿光市|