nomadstellar.blogg.se

How to install r studio in ubuntu 12.04
How to install r studio in ubuntu 12.04







how to install r studio in ubuntu 12.04
  1. HOW TO INSTALL R STUDIO IN UBUNTU 12.04 HOW TO
  2. HOW TO INSTALL R STUDIO IN UBUNTU 12.04 PASSWORD

Now let’s install RStudio to have a complete R environnement. Once you run R with the previous command, R terminal should start, you can quit R by using q(). You can now install the shiny package in the R console with: install.packages("shiny")Īnd you can check the installation by trying to load the library and one of its function: >library("shiny") Don’t forget to run R with: (thus the package will be available for all users).The R version should the most recent one (3.3.2), you can check it using version in R.To install R, you just have to follow this tutorial from DigitalOcean: Tutorial R base .

HOW TO INSTALL R STUDIO IN UBUNTU 12.04 PASSWORD

You then will be asked to enter a password and some information (name, room number, …)Īnd we can now modify our SSH connection to login with this user account:Ĭonnection->Data->Autologin username (change it from root to the user_name you entered) Now we need to grant this user sudo (admin) privileges: $ usermod -a -G sudo user_name You may want to create a new admin user, to avoid working with the root privilege: $ adduser user_name Once this step has been completed, you should see the Linux terminal. Now, we need to connect to our server, you can do it by following step five of the SSH creation tutorial: here for windows and here for Mac/Linux. Great, you now have your own Ubuntu server ! 3.a.

  • Create a new SSH key (if you need help to create and enter the SSH key, DigitalOcean made a tutorial here for windows and here for Mac/Linux).
  • Select your hosting location (The closer, the better).
  • Select Ubuntu 16.04 as the OS and a 2GB virtual server.
  • On digital ocean, server are call droplet, first you need to complete your account creation, then let’s create an Ubuntu droplet: If you already have an other service provider, the tutorial should work fine too. In this tutorial we will use DigitalOcean (Still most of the tutorial should be working on most other Ubuntu server), you can get a 10$ discount using this link, which is enough to run the server for 2 weeks for free.Ĭhoosing DigitalOCean was mainly motivated by its low cost, the easy configuration and the great amount of tutorials available to deploy a DigitalOcean server. Below is a comparison of these service providers (Since it’s far from being exhaustive, tell me if you know better options). The offers are more or less the sames, for this tutorial, you are going to need a virtual server with at least 2GB of RAM and Ubuntu installed. There are a lot of virtual server providers available on the web, among them: Only by following the different steps, you’ll get a working server and Shiny app. The post won’t focus on Shiny programming aspect, neither on Ubuntu programming, however, the tutorial is self-sufficient.

    HOW TO INSTALL R STUDIO IN UBUNTU 12.04 HOW TO

    In this post, we are going to see how to deploy R, RStudio, and Shiny apps on a virtual server.









    How to install r studio in ubuntu 12.04