Learn R Programming

quantmod (version 0.4.25)

create.binding: Create DDB Bindings

Description

Internal function used in attachSymbols to create active bindings for symbols defined in a DDB object.

Usage

create.binding(s,
               lsym,
               rsym,
               gsrc,
               mem.cache = TRUE,
               file.cache = !mem.cache,
               cache.dir = tempdir(),
               envir,...)

Value

Called for its side effect of creating active bindings to symbols.

Arguments

s

symbol name

lsym

function to convert to local name (legal R name)

rsym

function to convert to remote name (source name)

gsrc

corresponds to 'src' arg in getSymbols call

mem.cache

cache to memory

file.cache

cache to disk

cache.dir

directory to cache to/from

envir

environment name (character)

...

arguments to pass to getSymbols call

Author

Jeffrey A. Ryan

Details

Low level function to create bindings during initial demand-database construction.

References

Mark, Roger, ?