[R] Name of data.frame as a text string?
Mark Knecht
markknecht at gmail.com
Thu Jul 2 21:33:09 CEST 2009
On 7/2/09, Don MacQueen <macq at llnl.gov> wrote:
> Use
> deparse(substitute(df))
>
> Example from ?deparse:
>
> function(x, y) {
> plot(x, y, xlab=deparse(substitute(x)),
> ylab=deparse(substitute(y)))
> }
>
> -Don
>
Now that's interesting... deparsed means ?? de-analyze ?? I'm not
clear what that's doing for me beyond using only substitute but your
example and the substitute example both use it so I suppose I
shouldn't tempt the Fates...
Thanks,
Mark
More information about the R-help
mailing list