Online
August 17th, 2020
9:00 am - 12:30 pm
Instructors: Alice MacQueen
Helpers: Taslima Haque
This is a Data Carpentry style lesson on building graphics in R with ggplot2. ggplot2 is a plotting package in R that makes it simple to create complex plots from data in a data frame, allowing you to create and edit publication quality plots with minimal amounts of adjustments and tweaking. In this course, you will learn how to produce plots using ggplot2, set universal plot settings and themes, apply faceting in ggplot, and build and save complex and customized plots from data in a data frame.
Data Carpentry develops and teaches workshops on the fundamental data skills needed to conduct research. Its lessons are domain specific, building on learners' existing knowledge to enable them to quickly apply skills learned to their own research. Participants will be encouraged to help one another and to apply what they have learned to their own research problems.
For more information on what we teach and why, please see our paper "Good Enough Practices for Scientific Computing".
Who: The course is aimed at graduate students and other researchers at the University of Texas at Austin. You don't need to have any previous knowledge of the tools that will be presented at the workshop.
Where: This training will take place online. The instructors will provide you with the information you will need to connect to this meeting.
When: August 17th, 2020. Add to your Google Calendar.
Requirements: Participants must use a laptop with a Mac, Linux, or Windows operating system (not a tablet, Chromebook, etc.) that they have administrative privileges on. They should have a few specific software packages installed (listed below).
Accessibility: We are dedicated to providing a positive and accessible learning environment for all. Please notify the instructors in advance of the workshop if you require any accommodations or if there is anything we can do to make this workshop more accessible to you.
Contact: Please email alice.macqueen@utexas.edu or taslima@utexas.edu for more information.
Roles: To learn more about the roles at the workshop (who will be doing what), refer to our Workshop FAQ.
Everyone who participates in Carpentries activities is required to conform to the Code of Conduct. This document also outlines how to report an incident if needed.
We will use this collaborative document for chatting, taking notes, and sharing URLs and bits of code.
Please be sure to complete these surveys before and after the workshop.
9:00 am | RStudio & Data Visualization with ggplot2 |
10:15 am | Morning Break |
10:45 am | Continuation of R: Data Visualization with ggplot2 and cowplot |
12:15 pm | Wrap Up |
12:20 pm | Post-workshop survey |
END |
To participate in a Data Carpentry workshop, you will need access to the software described below. In addition, you will need an up-to-date web browser.
We maintain a list of common issues that occur during installation as a reference for instructors that may be useful on the Configuration Problems and Solutions wiki page.
If you haven't used Zoom before, go to the official website to download and install the Zoom client for your computer.
Like other Carpentries workshops, you will be learning by "coding along" with the Instructors. To do this, you will need to have both the window for the tool you will be learning about (a terminal, RStudio, your web browser, etc..) and the window for the Zoom video conference client open. In order to see both at once, we recommend using one of the following set up options:
tidyverse
and cowplot
.If you already have R and RStudio installed
- Open RStudio, and click on “Help” > “Check for updates”. If a new version is available, quit RStudio, and download the latest version for RStudio.
- To check which version of R you are using, start RStudio and the first thing that appears in the console indicates the version of R you are running. Alternatively, you can type
sessionInfo()
, which will also display which version of R you are running. Go on the CRAN website and check whether a more recent version is available. If so, please download and install it. You can check here for more information on how to remove old versions from your system if you wish to do so.
If you don’t have R and RStudio installed
- Download R from the CRAN website.
- Run the
.exe
file that was just downloaded- Go to the RStudio download page
- Under Installers select RStudio x.yy.zzz - Windows Vista/7/8/10 (where x, y, and z represent version numbers)
- Double click the file to install it
- Once it’s installed, open RStudio to make sure it works and you don’t get any error messages.
If you already have R and RStudio installed
- Open RStudio, and click on “Help” > “Check for updates”. If a new version is available, quit RStudio, and download the latest version for RStudio.
- To check the version of R you are using, start RStudio and the first thing that appears on the terminal indicates the version of R you are running. Alternatively, you can type
sessionInfo()
, which will also display which version of R you are running. Go on the CRAN website and check whether a more recent version is available. If so, please download and install it.
If you don’t have R and RStudio installed
- Download R from the CRAN website.
- Select the
.pkg
file for the latest R version- Double click on the downloaded file to install R
- It is also a good idea to install XQuartz (needed by some packages)
- Go to the RStudio download page
- Under Installers select RStudio x.yy.zzz - Mac OS X 10.6+ (64-bit) (where x, y, and z represent version numbers)
- Double click the file to install RStudio
- Once it’s installed, open RStudio to make sure it works and you don’t get any error messages.
sudo apt-get install r-base
, and for Fedora sudo yum install R
), but we
don’t recommend this approach as the versions provided by this are
usually out of date. In any case, make sure you have at least R 3.5.1.sudo dpkg -i
rstudio-x.yy.zzz-amd64.deb
at the terminal).tidyverse
and cowplot
packages. Start RStudio by double-clicking the icon and then type:
install.packages(c("tidyverse", "cowplot"))
. You can also do this by going to Tools -> Install Packages and
typing the names of the packages you want to install, separated by a comma.