Skip to Main Content
University of Texas University of Texas Libraries

Data Lab


Using R

R is an Open-Source programming language for data analysis, data management, and data visualization. It can also be applied to textual analysis. RStudio is available in our Data Lab.

Learning R


R allows users to install "packages" of code. These packages are developed by the open source community, and allow R to do more specific commands and projects.

Packages can be installed in the command line by using the install.packages() command. For example


To load and use these packages in scripts, simply call them using the library function:


Recommended Books

You can find books on R in the library catalog by doing a subject search for "R (Computer program language)."

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 Generic License.