Learn R Programming

ProjectTemplate (version 0.11.0)

reload.project: Reload or reset a project

Description

This function will clear the global environment and reload a project. This is useful when you've updated your data sets or changed your preprocessing scripts. Any sticky_variables configuration parameter in project.config will remain both in memory and (if present) in the cache by default. If the reset parameter is TRUE, then all variables are cleared from both the global environment and the cache.

Usage

reload.project(..., reset = FALSE)

Value

No value is returned; this function is called for its side effects.

Arguments

...

Optional parameters passed to load.project

reset

A boolean value, which if set TRUE clears the cache and everything in the global environment, including any sticky_variables

Examples

Run this code
library('ProjectTemplate')

if (FALSE) load.project()

reload.project()

Run the code above in your browser using DataLab