Re: [R] Suppressing warning messages

2005-05-16 Thread Martin Maechler
UweL == Uwe Ligges [EMAIL PROTECTED] on Sun, 15 May 2005 16:41:22 +0200 writes: UweL Kjetil Brinchmann Halvorsen wrote: Tolga Uzuner wrote: How do I suppress the following ? Warning messages: 1: the condition has length 1 and only the first element will

[R] Suppressing warning messages

2005-05-15 Thread Tolga Uzuner
How do I suppress the following ? Warning messages: 1: the condition has length 1 and only the first element will be used in: if (strike == forward) atmvol(forward, t, alpha, beta, rho, upsilon) else { 2: the condition has length 1 and only the first element will be used in: if (x(z) == 0) 1

Re: [R] Suppressing warning messages

2005-05-15 Thread Kjetil Brinchmann Halvorsen
Tolga Uzuner wrote: How do I suppress the following ? Warning messages: 1: the condition has length 1 and only the first element will be used in: if (strike == forward) atmvol(forward, t, alpha, beta, rho, upsilon) else { 2: the condition has length 1 and only the first element will be used in:

Re: [R] Suppressing warning messages

2005-05-15 Thread Gabor Grothendieck
On 5/15/05, Tolga Uzuner [EMAIL PROTECTED] wrote: How do I suppress the following ? Warning messages: 1: the condition has length 1 and only the first element will be used in: if (strike == forward) atmvol(forward, t, alpha, beta, rho, upsilon) else { 2: the condition has length 1 and

Re: [R] Suppressing warning messages

2005-05-15 Thread Uwe Ligges
Kjetil Brinchmann Halvorsen wrote: Tolga Uzuner wrote: How do I suppress the following ? Warning messages: 1: the condition has length 1 and only the first element will be used in: if (strike == forward) atmvol(forward, t, alpha, beta, rho, upsilon) else { 2: the condition has length 1 and only