On Wed, Feb 25, 2009 at 10:03 AM, Martin Maechler
wrote:
>> "D" == Dani
>> on Tue, 24 Feb 2009 14:09:36 -0800 writes:
>
> D> Hi list,
> D> I don't know if somebody has spent a lot of time debugging strange
> D> problems with if else positioning - the parser seems to recogniz
> "WK" == Wacek Kusnierczyk
> on Wed, 25 Feb 2009 09:46:19 +0100 writes:
WK> Martin Maechler wrote:
>>
>> I think this is FAQ (or should become one):
>>
>> ?if [the help page you really should read before spending too
>> much time or even post to R-help]
Martin Maechler wrote:
>
> I think this is FAQ (or should become one):
>
> ?if [the help page you really should read before spending too
> much time or even post to R-help]
>
?if
won't parse completely, you need
?'if'
;)
vQ
__
R-he
I too have had many problems with if-else.
My solution is to always always always
use the line
"} else {"
in any if-else construction. This guarantees that
there won't be problems of the sort discussed here.
HTH
rksh
Martin Maechler wrote:
"D" == Dani
on Tue, 24 Feb 2009 14:09:36 -
> "D" == Dani
> on Tue, 24 Feb 2009 14:09:36 -0800 writes:
D> Hi list,
D> I don't know if somebody has spent a lot of time debugging strange
D> problems with if else positioning - the parser seems to recognize only
D> the syntax bellow - this is the only way of making
Hi list,
I don't know if somebody has spent a lot of time debugging strange
problems with if else positioning - the parser seems to recognize only
the syntax bellow - this is the only way of making these pieces of
code to work.
As far as i'm concerned, no examples were available (it would be so
a
6 matches
Mail list logo