install-RStudio-server :: Ubuntu
https://www.rstudio.com/products/rstudio/download-server/
http://ngee.tistory.com/294
http://forteleaf.blogspot.kr/2016/06/ubuntu-1604-r.html
http://tip.daum.net/question/58336339
http://blog.cloud-mes.com/2012/09/16/install-r-and-rstudio-in-ubuntu/
http://statkclee.github.io/data-science/toolchain-shiny-rstudio.html
1. R 설치확인
RStudio Server 를 설치하기 위해서는 R을 먼저 설치해야한다.
sudo R > q()
2. RStudio server 설치
설치
gdebi-core 팩키지 설치 확인 후, Download – 64bit 후 설치
https://www.rstudio.com/products/rstudio/download-server/ 에서 Ubuntu 용새버전 확인 후 설치
$ cd ~/Downloads $ wget https://download2.rstudio.org/rstudio-server-1.0.153-amd64.deb $ sudo gdebi rstudio-server-1.0.44-amd64.deb
Reading package lists... Done Building dependency tree Reading state information... Done Reading state information... Done RStudio Server RStudio is a set of integrated tools designed to help you be more productive with R. It includes a console, syntax-highlighting editor that supports direct code execution, as well as tools for plotting, history, and workspace management. Do you want to install the software package? [y/N]:y Selecting previously unselected package rstudio-server. (Reading database ... 228914 files and directories currently installed.) Preparing to unpack rstudio-server-1.0.44-amd64.deb ... Unpacking rstudio-server (1.0.44) ... Setting up rstudio-server (1.0.44) ... groupadd: group 'rstudio-server' already exists rsession: no process found Created symlink from /etc/systemd/system/multi-user.target.wants/rstudio-server.service to /etc/systemd/system/rstudio-server.service. ● rstudio-server.service - RStudio Server Loaded: loaded (/etc/systemd/system/rstudio-server.service; enabled; vendor preset: enabled) Active: active (running) since 수 2016-12-07 09:02:54 KST; 1s ago Process: 10574 ExecStart=/usr/lib/rstudio-server/bin/rserver (code=exited, status=0/SUCCESS) Main PID: 10576 (rserver) CGroup: /system.slice/rstudio-server.service └─10576 /usr/lib/rstudio-server/bin/rserver
<참고> wget 보안때문에 안될때
$ wget --no-check-certificate https://download2.rstudio.org/rstudio-server-0.99.903-amd64.deb
/usr/lib/rstudio-server/bin/rserver
/etc/systemd/system/rstudio-server.service
설치 확인
If you are unable to access the server after installation, you should run the verify-installation command to output additional diagnostics:
$ sudo rstudio-server verify-installation
R Studio 접속하기
https://support.rstudio.com/hc/en-us/articles/200552306-Getting-Started
서버에서는 http://localhost:8787 에 Ubuntu 아이디/패스워드 사용
http://여러분의_리눅스_서버_ip_주소:8787