Re: [R] remembering the state of an action in R....

2022-12-11 Thread akshay kulkarni
Dear Rui, Thanks a lot.. Thanking you, Yours sincerely, AKSHAY M KULKARNI From: Rui Barradas Sent: Sunday, December 11, 2022 11:27 PM To: akshay kulkarni ; R help Mailing list Subject: Re: [R] remembering the state of an action in R �s 17

Re: [R] remembering the state of an action in R....

2022-12-11 Thread Rui Barradas
; R help Mailing list Subject: Re: [R] remembering the state of an action in R Às 17:11 de 11/12/2022, akshay kulkarni escreveu: Dear members, I am a stock trader and using R for my research. I am monitoring stock prices in real time. I have the following

Re: [R] remembering the state of an action in R....

2022-12-11 Thread akshay kulkarni
!= "the price Q has been breached!") { do something } ANy other method? Thanking you, Yours sincerely, AKSHAY M KULKARNI From: Rui Barradas Sent: Sunday, December 11, 2022 10:58 PM To: akshay kulkarni ; R help Mailing list Subject: Re: [R] rememberin

Re: [R] remembering the state of an action in R....

2022-12-11 Thread Rui Barradas
Às 17:28 de 11/12/2022, Rui Barradas escreveu: Às 17:11 de 11/12/2022, akshay kulkarni escreveu: Dear members, I am a stock trader and using R for my research. I am monitoring stock prices in real time. I have the following code: if (sock price q, breaches a cer

Re: [R] remembering the state of an action in R....

2022-12-11 Thread Rui Barradas
Às 17:11 de 11/12/2022, akshay kulkarni escreveu: Dear members, I am a stock trader and using R for my research. I am monitoring stock prices in real time. I have the following code: if (sock price q, breaches a certain value Q) { expr1; expr2; expr3} THe point i

[R] remembering the state of an action in R....

2022-12-11 Thread akshay kulkarni
Dear members, I am a stock trader and using R for my research. I am monitoring stock prices in real time. I have the following code: > if (sock price q, breaches a certain value Q) { expr1; expr2; expr3} THe point is, expr1,expr2,expr3 should execute only once, i.e wh