powered by
as.ref(obj)
ref
deref
v <- 1 r <- as.ref(v) r deref(r)
Run the code above in your browser using DataLab