The R Project SVN R

Rev

Rev 62910 | Rev 64284 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 62910 Rev 62913
Line 107... Line 107...
107
.Call(localvariable, 1, 2, 3)
107
.Call(localvariable, 1, 2, 3)
108
 
108
 
109
## Alternatively, like this:
109
## Alternatively, like this:
110
if(getRversion() < "3.1.0") dontCheck <- identity
110
if(getRversion() < "3.1.0") dontCheck <- identity
111
.Call(dontCheck(if (condition) entry1 else entry2), 1, 2, 3)
111
.Call(dontCheck(if (condition) entry1 else entry2), 1, 2, 3)
-
 
112
 
-
 
113
## HOWEVER, it is much better practice to write code
-
 
114
## that can be checked thoroughly, e.g.
-
 
115
if(condition) .Call(entry1, 1, 2, 3) else .Call(entry2, 1, 2, 3)
112
}
116
}
113
}
117
}
114
\keyword{ packages }
118
\keyword{ packages }
115
 
119