Dear all

How can I obtain the name of the argument passed in a function?  Here is a 
simplistic example of what I would like to obtain:

myfunction= function(name) {
     print(paste("The parameter name was",unknownFunction(name))
     }

myfunction(myobject)
[1] "The parameter name was myobject"

Thanks

Francisco

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to