Skip to content
Prev 68700 / 398513 Next

Getting the name of an object as character

On Wed, 2005-04-27 at 23:03 +0000, Ali - wrote:
Do you mean:
[1] TRUE
[1] "plot.default"
[1] FALSE
[1] "MyPlot.Default"
[1]  1  2  3  4  5  6  7  8  9 10
[1] "x"

Does that get what you want?

If so, see ?deparse and ?substitute

HTH,

Marc Schwartz