• Contact
  • Contact Us
  • Disclamer
  • Home 1
  • Home 2
  • Home 3
  • Privacy Policy
Friday, May 9, 2025
How VPS - How to use/setup VPS
  • Login
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
How VPS - How to use/setup VPS
No Result
View All Result
Home Operating System CentOS

How to Install RStudio Server on CentOS 7

How VPS by How VPS
October 1, 2019
in CentOS
0
0
SHARES
120
VIEWS
Share on FacebookShare on Twitter

Contents

  1. Prerequisites
  2. Step 1: Update the system
  3. Step 2: Install R
  4. Step 3: Install RStudio Server
  5. Step 4: Access RStudio Server from a web browser
  6. Step 5 (optional): Add more packages from CRAN
  7. Want to contribute?


RStudio Server is the web edition of RStudio which is a series of tools designed to facilitate the coding job using the R programming language.

In this article, I will show you how to install RStudio Server on a CentOS 7 server.

Prerequisites

  • A CentOS 7 server instance with at least 1GB of RAM, 2GB of RAM or more recommended.
  • A sudo user.

Step 1: Update the system

Log in as a sudo user, and then execute the below commands:

sudo yum install epel-release
sudo yum update
sudo shutdown -r now

After the reboot, use the same sudo user to log in back.

Step 2: Install R

sudo yum install R -y

Step 3: Install RStudio Server

Use the following commands to install the latest stable release of RStudio Server. At the time this article was written, it is 1.0.136.

cd
wget https://download2.rstudio.org/rstudio-server-rhel-1.0.136-x86_64.rpm
sudo yum install --nogpgcheck rstudio-server-rhel-1.0.136-x86_64.rpm -y

Note: You can always find the latest release of RStudio Server from its official download page.

After the installation, the RStudio Server service should have gotten started. You can check its status and set it to run on boot as below:

sudo systemctl status rstudio-server.service
sudo systemctl enable rstudio-server.service

Step 4: Access RStudio Server from a web browser

In order to allow web access, you need to modify firewall settings as below:

sudo firewall-cmd --permanent --zone=public --add-port=8787/tcp
sudo firewall-cmd --reload

Now, point your web browser to http://203.0.113.1:8787, and then sign in with the credentials of the current sudo user. If nothing goes wrong, you will be brought into the RStudio Server IDE in which you can write and test your R code.

Step 5 (optional): Add more packages from CRAN

If you want to install more packages from CRAN (Comprehensive R Archive Network), you can make it happen as follows:

Install development tools:

sudo yum groupinstall "Development Tools" -y

Enter the R shell:

sudo -i R

Install the package you need as below, and more packages can be installed in the same fashion:

install.packages('txtplot')

quit the R shell:

q()

That’s it. Thanks for reading.

Want to contribute?

You could earn up to $300 by adding new articles

Submit your article
Suggest an update
Request an article
Previous Post

Backup Multiple MySQL Or MariaDB Databases Automatically

Next Post

How to Install Wekan (Open Source Kanban) on CentOS 7

Next Post

How to Install Wekan (Open Source Kanban) on CentOS 7

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

No Result
View All Result

Recent Post

Install Imagemagick on CentOS
CentOS

Install Imagemagick on CentOS

by How VPS
June 28, 2023
0

This is how I installed Imagemagick on a vanilla CentOS server Start off by installing the prerequisites yum install php-pear...

Read more
how to Check phpinfo

How to Check phpinfo of Hosting or VPS?

June 28, 2023
Failed to download metadata for repo 'appstream' on Centos 8

How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

February 25, 2022
How to Fix MySQL Error "Plugin 'InnoDB' registration as a STORAGE ENGINE failed"?

How to Fix MySQL Error “Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed”?

November 17, 2020
How to optimize Mysql or MariaDB

How to optimize Mysql or MariaDB

November 3, 2020

Recent News

  • Install Imagemagick on CentOS
  • How to Check phpinfo of Hosting or VPS?
  • How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

Category

  • Arch
  • Authentication
  • Backups
  • BSD
  • Centmin Mod
  • CentOS
  • Control Panels
  • CoreOS
  • CWP
  • Debian
  • Directadmin
  • Encryption
  • Fedora
  • Firewalls
  • Hocvps Script
  • Hosting providers
  • Kloxo-MR
  • Linux
  • Mitigations
  • Operating System
  • Plesk
  • Reviews
  • Securing VPS/Servers
  • Security Patches
  • SSL Certificates
  • Uncategorized
  • Upgrading
  • VPS/Servers management guides
  • Vulnerability Detection
  • Web servers software
  • Webhosting Control Panel
  • About
  • Advertise
  • Careers
  • Contact

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
Thabet