How-To: RStudio: List Library Paths

Summary

List library paths for RStudio for current project.

Body

Question

How do I list the library paths that are being used in my project?

 

Answer

1. In RStudio, in Console pane, enter ".libPaths()".  Returns current configured library paths.  When using the recommended Renv package, the first listed path should begin with "c:\Users\%username%\". 

 

Rstudio window with Console pane, .libPaths command highlighted

For information on the best practices for setting library paths, see the article: Informational: Managing Library Paths and Packages in RStudio

For information on the best practices for managing portable libraries, see the article: Informational: Best Practices for Portable and Reproducible R Code Across OS Platforms

 

For Additional Assistance

For additional assistance or questions about this article, please contact itrss@missouri.edu

Details

Details

Article ID: 2332
Created
Tue 4/28/26 9:57 AM
Modified
Wed 11/4/26 3:27 PM