Try this:

eval(parse(text = "pi + 3"))


On 10/14/06, Lloyd Lubet <[EMAIL PROTECTED]> wrote:
> I'd like to excute character strings such as z<-"plot( objects()[1]"; eval(z) 
> and viola I'd have a plot of my first dataframe in the first frame. 
> Unfortunately this approach no longer works.
>
> Help?
>
> Lloyd L
>
> [EMAIL PROTECTED]
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@stat.math.ethz.ch 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.
>

______________________________________________
R-help@stat.math.ethz.ch 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