new.session | R Documentation |
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).
new.session(cd = TRUE, sci = FALSE)
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. |
None.
# No example available to avoid possibly unwanted object deletion in user environment.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.