Skip to content

Latest commit

 

History

History
130 lines (76 loc) · 3.17 KB

3-how-to-use-ecocloud.md

File metadata and controls

130 lines (76 loc) · 3.17 KB

How-to-use-ecoloud

TimLanglois 13/01/2020

To run R we are going to use an RStudio server through a new service called ecocloud.

Each of you will have your own server and your own permanent workspace on ecocloud (10gb).

This service will be linked to your UWA ID.

We strongly recommend you use Chrome as your browser. Safari should also work but has not been tested.

Go to app.ecocloud.org.au


Ecocloud


Logging into ecocloud

Log in using AAF (which will use your University credentials)

You may be redirected to a Attribute release approval page. Just select “Ask me again if information to be provided to this service changes” and click Accept


University credentials


Starting a Server

Once logged in you will be on the Dashboard

Go to Tools page

Click ‘R (RStudio and Jupyter)’ and follow the prompts to start an R Server.

Make sure to choose RStudio notebook in the Spawner options.


Spawner


This will set you up on a virtual RStudio server in the cloud.

Be patient whilst this happens. This maybe a bit slow.

Start RStudio and set working directory

Once your Server has started you will be on the JupyterLab dashboard.

Within the Notebook options - Click on the RStudio box. This will open an RStudio session in a new tab.


Spawner


The workspace folder is permanent, and will not be deleted even when you shutdown your server. You can also access this folder and it’s contents from the ecocloud website.

Your RStudio server should look like this
RStudio server

Create an R script

Click on the Green + at top left.

R script

Create an R script.

Save this script in your Working directory using a descriptive name e.g. “Catch curve.r”


R script


Well done.

If you haven’t used R before you will find plenty of help on forums on the internet.

We recommend you create a seperate R script for every practial.

End RStudio

IMPORTANT

Once you have finished using RStudio on ecocloud for the day, please Termiate your session. To do this go back to the dashboard using this link https://app.ecocloud.org.au/ and click on the Terminate button.

Before you do this - remember to save your .R script in your workspace folder and it will be ready waiting for you next time you start ecocloud.

Go back to instructions

Additional background on R

Here are some extra resources:

Introduction-to-R-and-RStudio

Introduction-to-tidyverse-and-pipes

more dplyr and tidyr

Jenny Bryan’s excellent R course