[R] converting character strings to eval
deepayan at stat.wisc.edu
Mon Jul 19 16:52:35 CEST 2004
On Monday 19 July 2004 09:37, Wayne Jones wrote:
> Hi there fellow R-users,
> I'm stuck on this seemingly trivial problem.
> All I want to coerce a character string into a command.
> For example:
> I want to evaluate the "str" command.
> I have tried
eval(parse(text = str))
seems to work.
More information about the R-help