[R] R-SCRIPT Label Calling Method
Rantony
antony.akkara at ge.com
Tue Jun 12 16:25:36 CEST 2012
Hi,
here i have some code...
a <-1
b <- b+1
c <- b+a/20
if c >5
{ d<- 1 }
else { d<- 0 }
i want to repeat this code from the 2nd line [b <- b+1] without using loop.
Actulay i want to use "*Label *" and call *GoTo* method like in other
coding Languages.
For eg:- like this,
a <-1
*LabelBegin :*
b <- b+1
c <- b+a/20
if c >5
{ d<- 1 }
else { d<- 0 }
*Go to LabelBegin*
Is there any method like that in R-Script ? Could you please help me fast, i
have an urgent requirement.
- Thanks
Antony
--
View this message in context: http://r.789695.n4.nabble.com/R-SCRIPT-Label-Calling-Method-tp4633108.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list