- 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.
推薦閱讀
- 深入理解Bootstrap
- PaaS程序設計
- Bootstrap 4:Responsive Web Design
- Building RESTful Python Web Services
- Julia高性能科學計算(第2版)
- IoT Projects with Bluetooth Low Energy
- Java程序設計基礎(第6版)
- ROS機器人編程實戰
- Raspberry Pi Blueprints
- Swift High Performance
- 深入理解Zabbix監控系統
- C語言解惑:指針、數組、函數和多文件編程
- ArcGIS Blueprints
- Mastering Linux Kernel Development
- Practical XMPP