It seems to me that one can only assign values to named data structures (like 'x').
That's precisely what the documentation for ?"<-"
says:
Description:
Assign a value to a name.
x[1] <- 10
doesn't use the same function as x <- c(5, 6, 7)
. The former calls [<-
while the latter calls <-
.