unpackList {PBSmodelling} | R Documentation |
Unpack List Elements into Variables
Description
Make local or global variables (depending on the scope specified) from the named components of a list.
Usage
unpackList(x, scope="L")
Arguments
x |
named list to unpack. |
scope |
If |
Value
A character vector of unpacked variable names.
Author(s)
Alex Couture-Beil, Vancouver Island University, Nanaimo BC
See Also
Examples
local(envir=.PBSmodEnv,expr={
x <- list(a=21,b=23);
unpackList(x);
print(a);
})
[Package PBSmodelling version 2.69.3 Index]