Re: [R] conditional assignments and calculations

2004-10-04 Thread Gabor Grothendieck
Answers interspersed. Michael Lachmann eva.mpg.de> writes: : : Thank you! : Now the conditional assignments work almost prefectly. : The current code is at the bottom of the message. : Now I can do : depends[A,B]=B+9 : and this will be executed only if B was more recently updated then A, and i

Re: [R] conditional assignments and calculations

2004-10-04 Thread Michael Lachmann
Thank you! Now the conditional assignments work almost prefectly. The current code is at the bottom of the message. Now I can do depends[A,B]=B+9 and this will be executed only if B was more recently updated then A, and if the last time A was updated, the expression used was 'B+9'. And it is also

Re: [R] conditional assignments and calculations

2004-10-02 Thread Gabor Grothendieck
Michael Lachmann eva.mpg.de> writes: : : Hello! : : I am using the TeXmacs interface to R. (Though I encountered a similar : problem when using Sweave) : In doing calculations I often ecounter this scenario: I'll have some : calculations in my file: : -- : A=read.lots.of.data() : : B=huge.ca

[R] conditional assignments and calculations

2004-10-02 Thread Michael Lachmann
Hello! I am using the TeXmacs interface to R. (Though I encountered a similar problem when using Sweave) In doing calculations I often ecounter this scenario: I'll have some calculations in my file: -- A=read.lots.of.data() B=huge.calculation.on(A) C=another.calculation.on(B) -- Now, if A has al