powered by
Lens version of x[[length(x)]] and x[[length(x)]] <- val
x[[length(x)]]
x[[length(x)]] <- val
[[length(x)]: R:[length(x) [[length(x)]: R:[length(x)
last_l
An object of class lens of length 2.
lens
# NOT RUN { x <- 1:10 view(x, last_l) set(x, last_l, 50) # }
Run the code above in your browser using DataLab