ubuntu 환경에서 R 최신 버전 설치
1. Open the terminal
2. Type the below command
| sudo vi /etc/apt/sources.list | cs |
3. Add an entry like
| # Ubuntu 15.04 deb http://<my.favorite.cran.mirror>/bin/linux/ubuntu vivid/ # Ubuntu 14.10 deb http://<my.favorite.cran.mirror>/bin/linux/ubuntu utopic/ # Ubuntu 14.04 deb http://<my.favorite.cran.mirror>/bin/linux/ubuntu trusty/ # Ubuntu 12.04 deb http://<my.favorite.cran.mirror>/bin/linux/ubuntu precise/ | cs |
For example
My environment is ubuntu 14.04, so add entry like this
| deb http://healthstat.snu.ac.kr/CRAN/bin/linux/ubuntu trusty/ | cs |
You can find favorite CRAN mirror this page
4. Type the below command
| sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9 | cs |
5. Type the under command
6. Enjoy