Create variables from corresponding named list elements
This is a convenience function for creating named variables from lists. It's particularly useful for "unpacking" the results of calls to .C
.
extract.named( l, to=parent.frame())
l |
a list, with some named elements (no named elements is OK but pointless) |
to |
environment |
nothing directly, but will create variables
Mark Bravington
ff <- function(...) { extract.named( list(...)); print( ls()); bbb } # note bbb is not "declared" ff( bbb=6, ccc=9) # prints [1] "bbb" "ccc", returns 6
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.