[R] Problem whit a piece of program

2005-10-13 Thread Arturo Coral Alamo
Hi friends, I'm beginning in R and I have simple question. I have this piece of my program and how you see, that's ok (whit num- 0.002) num-0.002 # ok, but not when I change whit num-0... ? factor1-1; while(1) { if (num*factor11) factor1-factor1*10 else { print(out ok!!); break; } } [1] out

Re: [R] Problem whit a piece of program

2005-10-13 Thread Kevin E. Thorpe
Arturo Coral Alamo wrote: Hi friends, I'm beginning in R and I have simple question. I have this piece of my program and how you see, that's ok (whit num- 0.002) num-0.002 # ok, but not when I change whit num-0... ? factor1-1; while(1) { if (num*factor11) factor1-factor1*10 else {