Dear Dr. Ripley, Thank you very much for your comments concerning do.call and call. Obviously, until this week I was fully unaware of the existence of both functions. I changed the following code
x<-do.call(method,methodArgs) into x<-call(method,Path) eval(x) and after deleting `methodArgs' from the drawpick function arguments, I did run drawpic(method=paste("dp")) And now it works!! Apologies for the untidy presentation of my code previously. Again, thank you very much!! Dr Niels Smits Taskforce Methods & Statistics Faculty of Psychology and Education Vrije Universiteit The Netherlands ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.