- Modern R Programming Cookbook
- Jaynal Abedin
- 166字
- 2021-07-08 09:48:23
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:
- Update etc/apt/source.list by adding an entry as follows:
deb <cran mirror address>/bin/linux/ubuntu trusty/
- 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.
- Once you have performed the preceding step, type the following command to install R:
sudo apt-get update
sudo apt-get install r-base
- 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:

- 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.
推薦閱讀
- Android項目開發入門教程
- CockroachDB權威指南
- Mastering matplotlib
- Animate CC二維動畫設計與制作(微課版)
- Java程序設計與計算思維
- Spring Cloud、Nginx高并發核心編程
- 可解釋機器學習:模型、方法與實踐
- 自然語言處理Python進階
- Couchbase Essentials
- FFmpeg開發實戰:從零基礎到短視頻上線
- C++17 By Example
- Bitcoin Essentials
- SaaS攻略:入門、實戰與進階
- Web前端開發全程實戰:HTML5+CSS3+JavaScript+jQuery+Bootstrap
- Mastering Python for Data Science