Creating RStudio User

It is not recommended to use the root account with RStudio, It’s better to simply create a normal user account for RStudio. You may name the account as anything you want, and the account password is going to be the one you’ll be using in the web interface.

sudo adduser rstudio

RStudio is going to use the user’s home directory as it’s default workspace.

Using R Studio

RStudio could be accessed from port 8787. Every user is accessible with a password in RStudio.

Let’s confirm that RStudio is working right by installing a quantitative finance package from CRAN, the R package repository.