| To: | S-News <s-news@lists.biostat.wustl.edu> |
|---|---|
| Subject: | getting a dataframe name |
| From: | Thom Burnett <Thom.Burnett@cognigencorp.com> |
| Date: | Fri, 10 Jun 2005 12:20:18 -0400 |
| User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 |
How do I get a character string of a dataframe name.
I have a function that recieves a dataframe as a parameter:
Can I then get the name of the data frame that was passed in?
How?
How it might be used:
--------------------------------------
foo <- function(newDataFrame) {
frameName <- what(newDataFrame)
plotTitle <- frameName
.# I don't want plotTitle to be 'newDataFrame'
}
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: FYI: s-plus 7.0 with docking stations, David Smith |
|---|---|
| Next by Date: | Re: getting a dataframe name, Richard M. Heiberger |
| Previous by Thread: | FYI: s-plus 7.0 with docking stations, Jean V Adams |
| Next by Thread: | Re: getting a dataframe name, Richard M. Heiberger |
| Indexes: | [Date] [Thread] [Top] [All Lists] |