[R] Loading a list into the environment
Gabor Grothendieck
ggrothendieck at gmail.com
Fri Feb 1 23:54:50 CET 2013
On Fri, Feb 1, 2013 at 5:24 PM, Jonathan Greenberg <jgrn at illinois.edu> wrote:
> R-helpers:
>
> Say I have a list:
>
> myvariables <- list(a=1:10,b=20)
>
> Is there a way to load the list components into the environment as
> variables based on the component names? i.e. by applying this theoretical
> function to myvariables I would have the variables a and b loaded into the
> environment without having to explicitly define them.
?list2env
--
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com
More information about the R-help
mailing list