
Hi,

The following function works, but is there a neater way to write it?

f = function(x,...)
{
    # return a character vector of the arguments passed in after 'x'
    gsub("
","",unlist(strsplit(deparse(substitute(list(...))),"[(,)]")))[-1] 
}

> f(x,a,b,c*d)
[1] "a"   "b"   "c*d"
> 

Thanks.



	[[alternative HTML version deleted]]


