Pre-Workshop Installation Instructions:
Go to this website and follow the instructions to install
- “Spreadsheet program” (unless you have Microsoft Excel installed already)
- OpenRefine
- R & RStudio
Do not install SQL. Ignore the “Data” section.
The “For everyone” section describes how to install R packages. Use the code below instead of the code they provide. we’ll be using slightly different R packages. We do not need the RSQlite
package.
install.packages(c("tidyverse", "rmarkdown", "tinytex"))
Note that the tinytex
package requires the latest version of R. So if you already had R and/or RStudio installed, follow the instructions under the “If you already have R and RStudio installed” section. More installation instructions for the rmarkdown
and tinytex
packages can be found here if needed.
Test that the rmarkdown
package installed correctly:
- Open RStudio
- Navigate to
File
>New File
>R Markdown...
- A small window with the options Title, Author, and Default Output Format should open up. You should be able to select between HTML, PDF, and maybe Word output formats. Leave the default settings in place, and use whatever Title and Author info you’d like, then press OK.
- A script should now open up (this is an R Markdown document). It will have a short header with title, author, date, and output fields. Find the
Knit
button at the top of the script and press it. You can selectKnit to HTML
orPDF
if it asks. Provide a filename of your choice and press Save. - If a document is successfully exported to the save location you chose then R Markdown is working.
Lastly, make sure that you have the most recent version of Zoom installed on your computer.