mastropi/envnames: Track User-Defined Environment Names
Version 0.3.0

Set of functions to keep track of user-defined environment names which cannot be retrieved with the built-in function environmentName. The main function in this package for this purpose has a similar name: environment_name(), which returns the name of the environment given as parameter, be it a system, package, user-defined, or function execution environment. The package also provides additional functionality, the most important ones being: - A function (obj_find()) to search for objects. This function extends the functionality of exists() as follows: objects are searched recursively within all user-defined environments. - A way to get the stack of calling function names (get_fun_calling_chain()), in an easier way than the built-in function, which requires further non-intuitive parsing of the output. - A function (get_obj_address()) to retrieve the memory address of an object. This package was inspired by an "R for developers" course given by Andrea Spano from Quantide () and by a post by Gabor Grothendieck at the R-Help forum ().

Getting started

Package details

AuthorDaniel Mastropietro
MaintainerDaniel Mastropietro <[email protected]>
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
mastropi/envnames documentation built on July 22, 2018, 8:03 a.m.