Skip to contents

Class material and functions for S&DS 1000: Introductory Statistics

Installing the SDS1000 package

To install the SDS1000 package that contains functions that are useful for the class run the function below

Note: we recommend you cut and paste all these commands to avoid typos.

install.packages("devtools")
devtools::install_github("emeyers/SDS1000")

Initial setup using the SDS1000 package

Once you have installed the SDS1000 package, you can use this package to install other packaged required by the class as well as LaTeX using the SDS1000:::initial_setup() function shown below.

Notes:

  1. If any dialog boxes pop up, just click “ok” on them to proceed.
  2. This function might take several minutes to run so please be patient.
  3. If it asks you to update any existing package you can do so (recommended) or you can skip this.
  4. When the function is done running, if it asks you to restart R, please close and then reopen R Studio.
SDS1000:::initial_setup()

Testing LaTeX has been installed

To test that LaTeX has correctly installed on your system you can run the following command:

tinytex:::is_tinytex()
#> [1] TRUE

If the function returns TRUE, then you have successfully installed LaTeX.

Class material

All class material is in the ClassMaterial directory.