Java Mailing List Archive

http://www.r-help.com/

Home » R Help for Statistical Computing »

Re: [R] Name of data.frame as a text string?

Mark Knecht

2009-07-02

Replies: Find Java Web Hosting

Author LoginPost Reply
On 7/2/09, Don MacQueen <macq@(protected):
> 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

______________________________________________
R-help@(protected)
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.
©2008 r-help.com - Jax Systems, LLC, U.S.A.