[R] error in passing an argument to do.call when do.call is in a for statement

2008-08-14 Thread Smits N
Dear R-users, I am having a problem with passing an argument to a function in a do.call function which itself is in a for statement. I am building a function to upload question pools to the blackboard learning environment. This function which transforms questions to XML style output should b

Re: [R] error in passing an argument to do.call when do.call is in a for statement

2008-08-15 Thread Smits N
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 `