[R] Re move Quotes and Defining Variable
jim holtman
jholtman at gmail.com
Fri Nov 30 17:00:20 CET 2007
?get
get(code[1])
On Nov 30, 2007 7:26 AM, livia <yn19832 at msn.com> wrote:
>
> Hello,
>
> I define a dataframe named "Price" first and there are other dataframes as
> well. Then I built an array named "code" containing all the dataframe name.
> So If I call code[1], it is "Price".
>
> Basicly, I would like to call the datafram with reference to the
> array"code".e,g, If I want to call dataframe
> "Prices", I use sth containing code[1]. It may sounds unnecessary in this
> special case. But as I have some
> interaction work to do with an exsiting project and this is what I want to
> achieve.
>
> Could anyone give me some advice? many thanks
> --
> View this message in context: http://www.nabble.com/Remove-Quotes-and-Defining-Variable-tf4904509.html#a14046941
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at 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.
>
--
Jim Holtman
Cincinnati, OH
+1 513 646 9390
What is the problem you are trying to solve?
More information about the R-help
mailing list