[R] forming function arguments from strings
ligges at statistik.tu-dortmund.de
Sat Jan 1 21:05:05 CET 2011
On 01.01.2011 18:56, Mark Sharp wrote:
> I am wanting to change arguments to a function dynamically. For example, in making a call to qplot, I want to dynamically define all of the arguments so that I can create the plot dependent on user input. I have played with eval() a bit, but have had no success.
If passing the arguments is not sufficient, then you may want to take a
look at ?do.call
> Mark Sharp
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help