powered by
is.ref
exists.ref
is.ref(x) exists.ref(ref)
ref
as.ref
exists
inherits
class
v <- 1 good.r <- as.ref(v) bad.r <- ref("NonExistingObject") is.ref(v) is.ref(good.r) is.ref(bad.r) exists.ref(good.r) exists.ref(bad.r)
Run the code above in your browser using DataLab