What are the differences between the assignment operators =
and <-
in R? R中賦值運算符=
和<-
之間有什麼區別? this
I know that operators are slightly different, as this example shows 我知道運算符略有不一樣,如本例所示 spa
x <- y <- 5 x = y = 5 x = y <- 5 x <- y = 5 # Error in (x <- y) = 5 : could not find function "<-<-"
But is this the only difference? 但這是惟一的區別嗎? .net