new.session {desk}R Documentation

R Session Reset

Description

new.session removes all objects from global environment, removes all plots, clears the console, and restores parameter settings. As default, sets the working directory to source file loction in case the function is used from an R script. As an option, resets the scientific notation (e.g., 1e-04).

Usage

new.session(cd = TRUE, sci = FALSE)

Arguments

cd

if cd = FALSE, the working directory is not be changend. The default, cd = TRUE, sets the working directory to source file loction.

sci

if sci = TRUE, the scientific notation is reset to the R standard option.

Value

None.

Examples

# No example available to avoid possibly unwanted object deletion in user environment.

[Package desk version 1.1.1 Index]