Skip to Main Content

Research Software

What is R?

R is a free, open-source programming language primarily used for statistical computing and data visualization.  R is a popular and powerful tool for researchers in any field working with data, as it allows users to perform complex data analysis including data cleaning, data manipulation using a wide range of statistical techniques.  R is also well-liked for its ability to create publication-quality data visualizations.  Numerous user-developed packages are available for use with R; these packages add specialized statistical methods and graphical features.

Because R is a scripted language, researchers can more easily ensure that their analyses are reproducible.

R is made available through CRAN (the Comprehensive R Archive Network) and is freely available for Windows, MacOS, and Linux.

There are several apps and environments available for coding in R.  A popular application for working in R is RStudio, which is available from Posit.

Downloading R/RStudio

To install R on your computer:

  1. Download R and RStudio from Posit.co.  Make sure to follow both Step 1 (Install R), then Step 2 (Install RStudio).  RStudio is an integrated development environment (IDE) for R which provides users some additional features for programming in R with an easy-to-navigate graphical user interface.
  2. After installing R and RStudio, open the RStudio app on your desktop.
  3. It is recommended that Windows users also install RTools (you can do this later).

You can also use R on the cloud through your browser, at posit.cloud.  With the free version, there are some limits on memory, computation hours per month, etc. 

Finding and Getting Help Using R at GW

R is free to install on Windows, Mac, and Linux computers, and R is also available for students, staff, faculty, and affiliates within GW's Virtual Computer Lab (VCL), provided by GW Information Technology.

GW Libraries offers workshops to help you get started learning coding, including R and Python.   We also offer the following types of individual consultations:

  • Coding Consultations with a software developer librarian skilled in R or Python programming.
  • Data consultations with graduate students in Academic Commons who are skilled in statistics and statistical analysis using R, Python, SAS, SPSS, STATA, and Excel. 

R for Beginners

Data Carpentry and Software Carpentry online workshop materials provide an excellent way to learn R in a free, self-paced fashion.  Recommended Carpentries materials for beginners to learn R include the following:

GW's very own Professor John Paul Helveston has created excellent resources for learning R:

If you prefer learning from an e-book, a detailed, yet excellent introduction to R for data science is the following:

Advanced R

R for Data Visualization

R for Statistics

R for Authoring Documents and More

R Markdown and Quarto allow you to mix narrative and code to create reproducible documents, web sites, presentations, and more.  R Markdown and Quarto can even include code from numerous languages beyond R, such as Python, C++, Julia and many more.

RShiny - Create Interactive Data Visualizations

Shiny is a framework for creating web applications using R or Python code. It is designed primarily with data scientists in mind. You can create rShiny apps with no knowledge of HTML, CSS, or JavaScript.

R for various applications

Text mining with R, tutorials:

R for geospatial analysis, tutorials:

R can even be used to create generative art:

Here is a great resource if you are looking for packages that might be useful in your analysis:

R Learning Resources and Communities

GW Libraries • 2130 H Street NW • Washington DC 20052202.994.6558AskUs@gwu.edu