> On Nov 29, 2011, at 2:00 AM, Xu Wang wrote: > > > Why don't the following two commands work? > > > > eval(parse(text=s)) > > eval(as.expression(s)) > >
Hm, try to set an object s before calling. Regards Petr > ______________________________________________ > 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. ______________________________________________ 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.