fetch: Fetch

View source: R/fetch.r

fetchR Documentation

Fetch

Description

Load an object from 'calc' directory

Usage

fetch(
  name = NULL,
  overwrite = FALSE,
  message = FALSE,
  autoload = FALSE,
  formats = c("rdata", "rdat", "Rdata", "Rdat"),
  env = .GlobalEnv
)

fetch_(
  ...,
  overwrite = TRUE,
  message = FALSE,
  autoload = FALSE,
  formats = c("rdata", "rdat"),
  env = .GlobalEnv
)

Arguments

name

character; the name of a variable. If missing, available objects will be listed

overwrite

if variable already exists in global workspace, should it be overwritten?

message

do you want an explanatory message?

autoload

is the variable in subdirectory 'autoload'? Default FALSE

formats

formats to look for. Default c('.rdata', '.rdat').

env

the environment to load into. Defaults to the global enviroment.

...

(possibly unquoted) names of objects

Functions

  • fetch_: Non-standard evaluation version

Author(s)

Henrik Renlund


renlund/proh documentation built on March 25, 2023, 10:07 a.m.