Re: [Rd] variable problem

2006-11-07 Thread Tom McCallum
Works like a charm - thank you very much. Tom On Tue, 07 Nov 2006 20:45:04 -, Vladimir Dergachev <[EMAIL PROTECTED]> wrote: > On Tuesday 07 November 2006 3:28 pm, Tom McCallum wrote: >> Hi everyone, > > Hi Tom, > > Would this snippet work: > > for(i in 1:length(mylist))do.call(f, m

Re: [Rd] variable problem

2006-11-07 Thread Vladimir Dergachev
On Tuesday 07 November 2006 3:28 pm, Tom McCallum wrote: > Hi everyone, Hi Tom, Would this snippet work: for(i in 1:length(mylist))do.call(f, mylist[i]) On the other hand it is not easy to see why you would want to call the same function with differently named arguments - perhaps

[Rd] variable problem

2006-11-07 Thread Tom McCallum
Hi everyone, I am not sure this is possible so I would be interested in your responses. Say I have a variable 'v' with the string "myargument" in and I have a function 'f' that takes this argument as follows; f <- function( myargument=5 ) { ... does something... } Is there anyway I can s