Re: [R] function design: multiple imput names

2011-07-17 Thread Joshua Wiley
Hi John, Look at ?match.call you will need to make sure that expand.dots = TRUE, but I think it does what you want. The names you want might be: names(my_list) <- as.character(match.call(expand.dots = TRUE))[-1L] I will point out that I am not sure you will get the desired results with your fun

[R] function design: multiple imput names

2011-07-17 Thread John Lande
dear all, a simple question, I need to write a function in which I retrive an undetermined number of vector in the function. I solved the problem thanks to this link http://stackoverflow.com/questions/2540232/how-to-allow-multiple-inputs-from-user-using-r so my function will look alike this my