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

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.
主站蜘蛛池模板: 昌邑市| 柳河县| 临安市| 共和县| 太和县| 博客| 治县。| 阿图什市| 辽宁省| 古田县| 高密市| 东阳市| 安达市| 闽清县| 固阳县| 兰坪| 泊头市| 深水埗区| 彭阳县| 准格尔旗| 高平市| 福贡县| 安义县| 宜宾市| 东乡县| 宜兰县| 邵阳市| 阿瓦提县| 南漳县| 嵩明县| 大同县| 莎车县| 济源市| 石泉县| 长子县| 甘孜县| 宁夏| 电白县| 龙游县| 文成县| 清新县|