onLoad: .onLoad getOption package settings

Description Usage Arguments Value Examples

Description

.onLoad getOption package settings

.onLoad getOption package settings

Usage

1
2
3
.onLoad(libname, pkgname)

.onUnload(libpath)

Arguments

libname

defunct

pkgname

defunct

libpath

defunct

Value

invisible()

invisible()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## Not run: 
# See all options
options()

# See the current temporary working folder
getOption("econModel.tryCatchLog.write.error.dump.folder"))

# Of my manually self-pre-created folder . . .
# Re-assign to my permanent(ish) working folder
MyWorkingFolder <- "C:\\Users\\Public\\econModelWork"
MyWorkingFolder <- normalizePath(MyWorkingFolder, winslash = "/")
options(econModel.tryCatchLog.write.error.dump.folder = MyWorkingFolder)
getOption("econModel.tryCatchLog.write.error.dump.folder"))

## End(Not run)

AndreMikulec/econModel documentation built on June 30, 2021, 9:48 a.m.