Learn R Programming

renv (version 0.8.0)

load: Load a Project

Description

Load a project.

Usage

load(project = NULL, quiet = FALSE)

Arguments

project

The project directory. If NULL, then the active project will be used. If no project is currently active, then the current working directory is used instead.

quiet

Boolean; be quiet during load?

Value

The project directory, invisibly. Note that this function is normally called for its side effects.

Details

Normally, this is done automatically on session startup by the infrastructure generated by activate() -- users should not need to call this function directly.

Examples

Run this code
# NOT RUN {
# load a project -- note that this is normally done automatically
# when the R session is started in an renv project after calling
# renv::activate()
renv::load()

# }

Run the code above in your browser using DataLab