Perhaps the following?

get(call_A)

See ?get for more details.

HTH,
Jorge.-

On Wed, Apr 18, 2012 at 10:25 PM, chuck.01 <> wrote:

> Let say I have an object (I hope my terminology is correct) a
> a <- 12
> > a
> [1] 12
>
> And "a" has been assigned the number 12, or whatever
> And lets say I have a character "call_A"
> call_A <- "a"
> >call_A
> [1] "a"
>
> What is the function "F" that allows this to happen:
> > F( call_A )
> [1] 12
>
>
> --
> View this message in context:
> http://r.789695.n4.nabble.com/call-object-from-character-tp4569686p4569686.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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.
>

        [[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