The R Project SVN R

Rev

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

Rev 67313 Rev 67324
Line 75... Line 75...
75
## but we strongly advise to use the "!( ... )" form in this case!
75
## but we strongly advise to use the "!( ... )" form in this case!
76
 
76
 
77
 
77
 
78
## '=' has lower precedence than '<-' ... so you should not mix them
78
## '=' has lower precedence than '<-' ... so you should not mix them
79
##     (and '<-' is considered better style anyway):
79
##     (and '<-' is considered better style anyway):
80
## Consequently, this gives an error
80
\donttest{## Consequently, this gives a ("non-catchable") error
81
try( x <- y = 5 ) #->  Error in (x <- y) = 5 : ....
81
 x <- y = 5  #->  Error in (x <- y) = 5 : ....
-
 
82
}
82
}
83
}
83
\keyword{documentation}
84
\keyword{documentation}
84
\keyword{programming}
85
\keyword{programming}