Dear R helpers:

I like to apply deparse(substitute()) on multiple arguments to collect the
names of the arguments into a character vector.
I used function test.fun as below. it works when there is only one input
argument. but it does not work for multiple arguements. can someone kindly
help?

test.fun <- function(...){deparse(substitute(...))}
test.fun(x) #this works
test.fun(x,y,z) # I like c('x','y','z') be the output, but cannot get it.

Thanks in advance.

-Sean

	[[alternative HTML version deleted]]

