Open tdsmith opened 11 years ago
> is.function(`+`)
[1] TRUE
> is.function(`for`)
[1] TRUE
And let's not forget the all important:
> is.function(`[`)
[1] TRUE
> is.function(`[<-`)
[1] TRUE
You still need to use a "naked" <-
to acheive lasting changes:
> a = c(1,2,3,4)
> `[<-`(a, 2, 10)
[1] 1 10 3 4
> a
[1] 1 2 3 4
> a <- `[<-`(a, 2, 10)
> a
[1] 1 10 3 4
from cdrv