This document is instended for DSUer’s who want to know how to use R in the command.

Note: At this point we can not install R packages directly in Jupyter which is currently running on dbsrp1815. However you can install R packages in the command line. All DSUers should have the permission to install R in the command line.

Uing Git Bash Command Line:

  1. Open git bash

  2. Type ssh dbsrp1815 then Enter, it will ask you to enter your password

  3. Type password then Enter, now you are in your home page direcotry

  4. Type R then Enter, now you are in the R enviroment and can start installing packages and do your analysis as you do in R desktop.

  5. To install packages you can type install.packages(“package you want to install”)

Using Putty

  1. Open Putty, make sure Putty is connected to the dbsrp1815 server. When you open Putty, it will ask you to enter your login user name. ie. sdurski

  2. Type your user name then Enter, it will ask you to enter a password

  3. Type your password then Enter, now you are in your home directory

  4. Type R then Enter, now you are in the R enviroment and can start installing packages and do your analysis as you do in R desktop.

Using Terminal through Jupyter

  1. Open the Jupyter

  2. Go to new drop down and select terminal. This will bring you to your direcotry. ie /home/sdurski

  3. Type R then Enter, now you are in the R enviroment and can start installing packages and do your analysis as you do in R desktop.