Re: [R] eval parent.frame() twice

2009-08-07 Thread Duncan Murdoch
On 8/7/2009 7:36 AM, Rune Schjellerup Philosof wrote: Peter Dalgaard skrev: Rune Schjellerup Philosof wrote: Hi I want to use a function (update) that in its body uses eval(call, parent.frame()) I would like to use this function in a function that does not contain the variables referred to

Re: [R] eval parent.frame() twice

2009-08-07 Thread Rune Schjellerup Philosof
Peter Dalgaard skrev: > Rune Schjellerup Philosof wrote: > >> Hi >> >> I want to use a function (update) that in its body uses >> eval(call, parent.frame()) >> >> I would like to use this function in a function that does not contain >> the variables referred to in 'call'. Those variables are ins

Re: [R] eval parent.frame() twice

2009-08-07 Thread Peter Dalgaard
Rune Schjellerup Philosof wrote: > Hi > > I want to use a function (update) that in its body uses > eval(call, parent.frame()) > > I would like to use this function in a function that does not contain > the variables referred to in 'call'. Those variables are instead in the > parent.frame() of my

[R] eval parent.frame() twice

2009-08-07 Thread Rune Schjellerup Philosof
Hi I want to use a function (update) that in its body uses eval(call, parent.frame()) I would like to use this function in a function that does not contain the variables referred to in 'call'. Those variables are instead in the parent.frame() of my function (named 'second' below) Like this: a <-