- Click on the big green button 'CODE'.
- Select 'Download ZIP'.
- Save the file to your desktop.
- Once opened unzip/extract all files in the ZIP file.
- Start by opening the 2022_MSc_Spatial_Course.RProj file in your documents browser. Only continue if in the top right corner of your RStudio session you see the text 2022_MSc_Spatial_Course. If you see this, you have successfully opened the .RProj file. If you do not see this, go File --> Open Project --> Navigate to and select the .RProj file.
- In your R Studio session, open the 'Files' tab.
There are two ways to run your code. Either through the .R scripts or the .RMD Rmarkdown documents.
- Open the scripts folder, then open your chosen tutorial
- Once the .R script is open, click the 'Run' button at the top of your screen.
- Open the RMDs folder, then open your chosen tutorial
- Once the .Rmd file is open, click the 'Knit' button at the top of your screen.
- This will show you an immediate html output and save an html document to your html folder.
- data - environmental variables (worldclim.tif) and all protected areas for Madagascar
- html - annotated tutorials for sessions 1 and 2
- images - ignore: used for enriching the annotated tutorials
- output - ignore: all of your outputs should be in html format
- RMDs - R markdown documents used to create the annotated html tutorials
- scripts - clean scripts, which mirror the code used in the R markdown documents and those seen in the annotated tutorials. If you find it easier, use these as a playground to test your code and then copy and paste the sections into your 3_Student_Report_Template.Rmd document.
- slides - the PowerPoint slides used to provide background context for each session.
Please find the word document, MSc_SA_Assessment.docx for details on the assignment. You are required to submit your assignment as an .html file. This will be the default output setting of your RMarkdown document.
Please find the assigned species names on QM+