This is an empty repo to initialize an R project for training courses organized by O’Reilly.
Please follow all instructions to set up your environment for the training.
To get started run the following code to install the latest version of the necessary packages.
packages <- c(
'DT',
'dygraphs',
'ggthemes',
'here',
'knitr',
'leaflet',
'rmarkdown',
'threejs',
'tidyverse',
'usethis',
'XML'
)
install.packages(packages)
Making use of RStudio projects greatly improves the user experience. To
facilitate this users should run the following code which will recreate
this project on their computer. Be sure to select the positive prompts
such as yes
, yeah
,
etc.
newProject <- usethis::use_course('https://github.com/jaredlander/LiveMarkdownAugust2018/archive/master.zip')
After running this code you will be in an RStudio Project called LiveMarkdownAugust2018. You can see this in the top right of RStudio (the name in the image may be different).
Data for the class is kept at data.world. Run the following code to download all the data. This requires that you are using an RStudio Project setup exactly like this repo, which is done if you followed the preceding code.
source('prep/DownloadData.r')