| To: | Thom Burnett <Thom.Burnett@cognigencorp.com>, S-News <s-news@lists.biostat.wustl.edu> |
|---|---|
| Subject: | Re: getting a dataframe name |
| From: | "Richard M. Heiberger" <rmh@temple.edu> |
| Date: | Fri, 10 Jun 2005 12:40:08 -0400 |
> foo <- function(newDataFrame) {
+ frameName <- deparse(substitute(newDataFrame))
+ plotTitle <- frameName
+ plotTitle
+ }
> foo(abcd)
[1] "abcd"
>
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | getting a dataframe name, Thom Burnett |
|---|---|
| Next by Date: | another vector question, Leeds, Mark |
| Previous by Thread: | getting a dataframe name, Thom Burnett |
| Next by Thread: | another vector question, Leeds, Mark |
| Indexes: | [Date] [Thread] [Top] [All Lists] |