set_lib_paths: Set your R library paths where you want when you want

View source: R/set_lib_paths.R

set_lib_pathsR Documentation

Set your R library paths where you want when you want

Description

Credit to this one goes to Miles McBain (see link in references). An alternate to .libPaths() that will let you set your R library paths to precisely whatever you choose, whenever you like.

Usage

set_lib_paths(lib_vec)

Arguments

lib_vec

Character string with path to library

References

Hacking R's library paths

Examples

## Not run: 
.libPaths()
set_lib_paths("~/code/library")
.libPaths()

## End(Not run)

emilelatour/lamisc documentation built on April 9, 2024, 10:33 a.m.