Initial setup for Roundtable Reports
initial-setup.RmdInstall Required Software
- Open the Company Portal on your computer
- Find and install two items:
- R for Windows
- RStudio
Create a folder for building the reports
- Open RStudio. It might ask you to choose your version of R. Just accept the default (machine 64-bit version).
- In the RStudio menubar go to File > New Project…
- click on “New Directory” followed by “New Project”
- enter a name for your folder (e.g. “roundtable reports”)
- choose a location for this folder (e.g. “~/Documents”)
- click “Create Project”
Install the RoundtableReporting package
- In the RStudio menubar go to Tools > Global Options
- select Packages from the left-hand list
- under “Secondary repositories”, click “Add”
- enter a name (e.g. timbp) and the URL
https://drat.timbp.com - click “OK” and “OK”.
- In the bottom right pane of RStudio find the “Packages” tab.
- Click “Install” (top left of the packages pane – very small writing)
- In the dialog that opens, type “RoundtableReporting”
- Check that “Include dependencies” is ticked.
- Click “Install”.
- Once installation completes, go to the RStudio Console (left hand
pane)
- enter the following lines:
library(RoundtableReporting) get_default_config() - Switch to the Files tab in RStudio’s bottom right pane. You should
see
report_settings.yamlandfigure_settings.yaml.
Your setup is now complete. You should not need to do these steps again.
You can now create a report:
vignette("creating-reports").