get.stack: 'get' within a function

Description Usage Arguments Details Value

View source: R/fun-get.stack.R

Description

Get object from the call stack rather than the search path.

Usage

1

Arguments

x

a character string

Details

This version of get searches the whole call stack but not the search path. Basically a rewrite of dynGet (actually, rewritten based on dynGet).

Value

Returns the value of a variable named x if one exists anywhere in the current call stack. Otherwise throws an error.


olobiolo/acutils documentation built on Nov. 28, 2021, 9:35 p.m.