asArguments: Store the arguments of a function in the global environment

View source: R/all_custom_functions.R

asArgumentsR Documentation

Store the arguments of a function in the global environment

Description

By copying the arguments of a function and supplying them to asArguments, each argument is stored with its corresponding value in the global environment. The stored arguments can be used to run the expressions inside a function, e.g. for debugging.

Usage

asArguments(...)

Arguments

...

The named arguments which will be store in the global environment.

Examples

asArguments(a=1, b=1:10, d=list('a', 10, TRUE))
ls()

ryannick28/CustomFunctionsYrotha documentation built on June 1, 2025, 4:02 p.m.