install-RStudio-server :: Ubuntu

Published onesixx on


1. R 설치확인

RStudio Server 를 설치하기 위해서는 R을 먼저 설치해야한다. 

sudo R
> q()

2. RStudio server 설치


gdebi-core 팩키지 설치 확인 후, Download – 64bit 후 설치 에서 Ubuntu 용새버전 확인 후 설치 

$ cd ~/Downloads
$ wget
$ 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/ 
                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



설치 확인

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 접속하기

서버에서는 http://localhost:8787  에 Ubuntu 아이디/패스워드 사용


Categories: R Basic


Blog Owner

Notify of

Inline Feedbacks
View all comments
Would love your thoughts, please comment.x