If you are seeing this message then your browser does not support CSS. This site is designed entirely with CSS. We recommend that you upgrade your browser.

Skip Navigation
How to add local R add-ins / libraries

Additional add-ins / libraries can be added to R-project and R-Studio by running the following script when you first start using R.  Then as you add your libraries and add-ins they will be added to your ITaP "W" drive that will follow you and be available on all campus computers.  Anytime you use a version of R, simply run this script and then you will have the add-ins / libraries that you need.

my.dir <- "W:/My Documents/Rlibs"

if (!file.exists(my.dir)) dir.create(my.dir)

.libPaths(c(my.dir, .libPaths()))

.libPaths()