Understanding how the Earth and environment works requires the careful analysis and interpretation of scientific data. Increasingly, the limitations to our understanding lie not in the availability of data, but rather in our ability to analyze and find meaning in it. Deriving insight from environmental data, in particular large and complex datasets, requires new tools, methods, and ways of thinking. In this class we are going to learn how to code in the programming language R and use it to analyze environmental data in order to better understand the Earth's systems. This course will feature a hands-on classroom with programming and data analysis occurring interactively during the class. Students will learn how to analyze and visualize large datasets and how to write code, while also covering interesting components of environmental and Earth sciences.