[19173] in s-news-athena
[S] How to "quote" a data object's name in a function
daemon@ATHENA.MIT.EDU (Andy White)
Thu Sep 9 13:37:22 1999
Message-Id: <B9D73E159B01D311A4950090273B19258A151F@exchange01.hmsa.com>
From: Andy White <andy_white@hmsa.com>
To: "'s-news@wubios.wustl.edu'" <s-news@wubios.wustl.edu>
Date: Thu, 9 Sep 1999 07:28:12 -1000
Mime-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Pardon my ignorance on this one, but:
how do you "quote" the name of a data-object in a function?
I want to have a function which returns a text header at the beginning of
its output, and I want to cite the name of the data object utilized in the
function. I would like something like:
cat("Data Description for data object", dataname)
but of course if dataname is the name of the dataobject, like a dataframe,
cat() gives the wrong results
cuz I get the entire data objects contents spilled out !! rather than just
the dataobject's name repeated in fancy-text.
Any help would be greatly appreciated.
Andy White
-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news