Se ?get function.

On Mon, Sep 13, 2010 at 3:40 PM, Jie Li <ruser...@gmail.com> wrote:

> All,
>
> For example, I have a dataset named "ABC" loaded into R
> > ABC
>     [,1] [,2] [,3]
> [1,]    1    4    7
> [2,]    2    5    8
> [3,]    3    6    9
>
> and I also have a variable datasetname
> > datasetname
> [1] "ABC"
>
> and I want to add this "ABC" dataset to an existing list "alldata"
>
>  > alldata <-NULL
> > alldata <- as.list(alldata)
>
> since I will have lots of datasets like "ABC" loaded to R, and have
> datasetname variable record their names, I want to add all the datasets to
> the list alldata by just writing one command. But I don't know to tell R
> that "ABC" is a dataset's name instead of a value of variable datasetname?
> Thank you all for your help!
>
> JL
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to