Making Reports in R
Don’t screenshot or cut-and-paste graphs from RStudio Online into your wordprocessor, because the end result looks very unprofessional. If you’re using a wordprocessor to write a report, do this instead:
Export your graph, using the Export icon on RStudio’s Plots window, and selecting “Save as image…”. Give it a meaninful file name (e.g. “dom-scatter”) and click ‘Save’.
Click on the ‘Files’ tab in RStudio Online, and click the tick box to select your file (it will have whatever filename you just gave it.).
Click on “More” (next to the little blue gear wheel), and then “Export…”.
Click “Download”. The file will now be in the Downloads folder of your computer.
Alternatively, you can make reports with RStudio. This has many advantages over using a wordprocessor such as Word, or LibreOffice, but we don’t cover it in this introductory course. If you’d like to read more about how to write reports with RStudio, see Just Enough R.