begin {easyr}R Documentation

Begin

Description

Perform common operations before running a script. Includes clearing environment variables, 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"),
  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.

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-8 Index]