title |
---|
Pre-workshop Setup |
We will need the following account(s) and software for this workshop:
- Create Github account (use existing or create new account)
- Install Git
- Install R & RStudio (Two separate installations: if you are on a windows device, you may need Rtools)
{% include install_instructions/github.html %}
{% include install_instructions/git.html %}
{% include install_instructions/r.html %}
{% include links.md %}
Quarto is a scientific and technical publishing system build on Pandoc, which we will be using in Rstudio. You will need to install Quarto from Quarto.org. Open the Setup Wizard to begin the install. Keep the defaults and select Next until the install finishes.
If you already have Rstudio and R installed, please check if you have the most updated 2023.06 Rstudio and at least R version 4.3, along with Quarto version 1.3.45. The quarto document will not render without the most updated versions. The Quarto Package is not the CLI {: .keypoints}
You can check if you have the correct Quarto version by typing the following in the Rstudio terminal:
quarto --version
{: .source}
Your output should be:
quarto --version
1.4
{: .output}
Install the following packages in RStudio: rmarkdown
, tidyverse
,BayesFactor
, patchwork
.
We will be covering the purpose of using packages and recap different ways to install and manage them in RStudio. Nonetheless, pre-installating the packages we will be using for this workshop will save us some precious time since installation time may vary among learners. Here are the steps for two possible approaches you may follow for completing this process:
Using Menus and Tabs
-
Open R studio
-
Select from the upper menu
Tools > Install packages...
or click on thePackages
tab in the bottom-right section and then click on install. Either action will prompt a box dialog. -
In the
Install Packages
dialog box, copy this commandrmarkdown, tidyverse, BayesFactor, patchwork
under the Packages field, make sure the optioninstall dependencies
is selected, keep other information unchanged, and then clickinstall
. -
Don't be alarmed by the stop sign that will blink (and do not click on it otherwise you will cancel the process) or the red text messages. Once the process completes the cursor will be preceeded by a greater-than sign
>
. -
Copy and paste one of the following functions to the console and wait for the process to complete:
install.packages("rmarkdown")
install.packages("tidyverse")
install.packages("BayesFactor")
install.packages("patchwork")
{: .source}
or
install.packages(c("rmarkdown", "tidyverse", "BayesFactor", "patchwork"))