unpackList {PBSmodelling} | R Documentation |
Function to make local or global variables (depending on the scope) from the named components of a list.
unpackList(x, scope="L")
x |
list to unpack. |
scope |
If "L" create variables local to the parent frame that called the function. If "G" create global variables. |
A character vector of unpacked variable names.
x<-list(a=21,b=23) unpackList(x) print(a)