Learn R Programming

archivist (version 1.6)

aoptions: Default options for Archivist

Description

The function aoptions sets and gets default options for other archivist functions.

Usage

aoptions(key, value = NULL)

Arguments

key
Name of the parameter.
value
New value for the 'key' parameter.

Value

  • The function returns value that corresponds to a selected key.

Details

The function aoptions with two arguments sets default values of arguments for other archivist functions (stored in an internal environment). The function aoptions with one argument returns value of given parameter. It is used for setting default values for parameters in archivist functions. Currently works for arguments: silent

See Also

Other archivist: Repository; Tags; %a%; addTagsRepo; ahistory, print.ahistory; archivist-package; aread; asearch; cache; copyGithubRepo, copyLocalRepo; createEmptyRepo; deleteRepo; getTagsGithub, getTagsLocal; loadFromGithubRepo, loadFromLocalRepo; md5hash; multiSearchInGithubRepo, multiSearchInLocalRepo, searchInGithubRepo, searchInLocalRepo; rmFromRepo; saveSetToRepo; saveToRepo; setGithubRepo, setLocalRepo; shinySearchInLocalRepo; showGithubRepo, showLocalRepo; summaryGithubRepo, summaryLocalRepo; zipGithubRepo, zipLocalRepo

Examples

Run this code
# objects preparation
# turn off warnings in saveToRepo()
aoptions("silent", FALSE)
aoptions("silent")

Run the code above in your browser using DataLab