begin {easyr} | R Documentation |
Begin
Description
Perform common operations before running a script. Includes clearing environment objects, disabling scientific notation, loading common packages, and setting the working directory to the location of the current file.
Usage
begin(
wd = NULL,
load = c("magrittr", "dplyr"),
keep = NULL,
scipen = FALSE,
verbose = TRUE,
repos = "http://cran.us.r-project.org"
)
Arguments
wd |
Path to set as working directory. If blank, the location of the current file open in RStudio will be used if available. If FALSE, the working directory will not be changed. |
load |
Packages to load. If not available, they'll be installed. |
keep |
Environment objects to keep. If blank, all objects will be removed from the environment. |
scipen |
Do scientific notation in output? |
verbose |
Print information about what the function is doing? |
repos |
choose the URL to install from. |
Examples
begin()
[Package easyr version 0.5-11 Index]