-
Notifications
You must be signed in to change notification settings - Fork 0
Transparency Polling Prerequisites 2016
To participate in the workshop, you'll have to install some software on your computer prior to the workshop. It'll probably take about a half hour to get everything set up.
These instructions cover installation for Mac OS and Windows. If you're a Linux user, you have my admiration and esteem and can probably figure this out for yourself (be sure to install the plugins).
If you have any issues with this, don't hesitate to contact David Riordan, Rosalie Yu, or Michael Krisch for assistance.
This tutorial will walk you through the installation of the following pieces of software:
- The R Programming Language
- RStudio - a powerful user interface that makes it easier to work with the R Programming Language
- The following plugins for R
- Tidyverse - a whole suite of tools for R that do everything from give graphics a grammar (seriously), all the way to giving you tools to simplify data scraping.
- Clipr - for working with the clipboard
- Plotly - for working with the charting service Plotly
This will take place over 2 steps:
- Installing R + RStudio, which is slightly different in OSX than Windows
- Installing the plugins, which we will use RStudio for, making installation nearly identical
The following written instructions are from the UT Austin Foundations of Data Analysis Course. If you would prefer, MarinStatsLectures has a video tutorial which covers the same material.
Once this is complete, be sure to jump ahead for instructions on installing the required plugins.
- Open an internet browser and go to www.r-project.org.
- Click the "download R" link in the middle of the page under "Getting Started."
- Select a CRAN location (a mirror site) and click the corresponding link.
- Click on the "Download R for (Mac) OS X" link at the top of the page.
- Click on the file containing the latest version of R under "Files."
- Save the .pkg file, double-click it to open, and follow the installation instructions.
Now that R is installed, you need to download and install RStudio.
- Go to www.rstudio.com and click on the "Download RStudio" button.
- Click on "Download RStudio Desktop."
- Click on the version recommended for your system, or the latest Mac version, save the .dmg file on your computer, double-click it to open, and then drag and drop it to your applications folder.
Once this is complete, be sure to jump ahead for instructions on installing the required plugins.
The following written instructions are from the UT Austin Foundations of Data Analysis Course. If you would prefer, OpenIntro has a particularly good video tutorial that covers the same instructions.
- Open an internet browser and go to www.r-project.org.
- Click the "download R" link in the middle of the page under "Getting Started."
- Select a CRAN location (a mirror site) and click the corresponding link.
- Click on the "Download R for Windows" link at the top of the page.
- Click on the "install R for the first time" link at the top of the page.
- Click "Download R for Windows" and save the executable file somewhere on your computer. Run the .exe file and follow the installation instructions.
Now that R is installed, you need to download and install RStudio.
- Go to www.rstudio.com and click on the "Download RStudio" button.
- Click on "Download RStudio Desktop."
- Click on the version recommended for your system, or the latest Windows version, and save the executable file. Run the .exe file and follow the installation instructions.
Once this is complete, be sure to jump ahead for instructions on installing the required plugins.
- Launch RStudio
- In the top menubar click TOOLS -> Install Packages
- type that you want to install
tidyverse, clipr, plotly
. NOTE: Mac OSX may try to use autocorrect on these. Edit those autocorrect edits - Click the INSTALL button and wait for all the plugins to install. Your computer will look like it's very busy. It's going to take a while (10-15 minutes) so consider making a cup of coffee.