e1 <- new.env() e1$value <- 10 # copying the name shares the SAME environment e2 <- e1 e2$value <- 20 # both names see the change print(e1$value)
two names, one environment