Skip to content
/ SDS100 Public

A repository for the class S&DS 100: Introductory Statistics

License

Notifications You must be signed in to change notification settings

emeyers/SDS100

Repository files navigation

SDS100: Introductory Statistics

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

Class material

All class material is in the ClassMaterial directory. In particular the ClassMaterial/slides directory contains the class slides which can be useful to review what was covered in class.

Installing the SDS100 package

To install the SDS100 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/SDS100")

Initial setup using the SDS100 package

Once you have installed the SDS100 package, you can use this package to install other packaged required by the class as well as LaTeX using the SDS100:::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.
SDS100:::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.

Installing the SDS100 package on MyApps and on Windows

If you can't get R/R Studio or the SDS100 package installed on your own computer, you can use the MyApps virtual windows desktop which can be accessed through a web browser at: http://aka.ms/wvdarmweb . The MyApps virual windows desktop already has R and R Studio installed, but you will need to install the SDS100 package on the MyApps.

To install the SDS100 package on MyApps, please following the steps below:

  1. Install R Tools by by clicking on this link: https://cran.r-project.org/bin/windows/Rtools/rtools40-x86_64.exe and then clicking on the file that is download to install R Tools.

  2. Open up R Studio the MyApps virtual windows desktop and run the following commands in the R console:

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

Once you have done this you should be all good to go. You can test your installation worked by running the following command:

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

If the function returns TRUE, then you have successfully installed LaTeX and you should hopefuly be all set.

About

A repository for the class S&DS 100: Introductory Statistics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages