as.ref: coercing to reference

Description Usage Arguments Value Author(s) See Also Examples

Description

This function RETURNs a reference to its argument.

Usage

1
as.ref(obj)

Arguments

obj

an object existing in the current environment/frame

Value

an object of class "ref"

Author(s)

Jens Oehlschl<e4>gel

See Also

ref, deref

Examples

1
2
3
4
  v <- 1
  r <- as.ref(v)
  r
  deref(r)

ref documentation built on May 30, 2017, 2:19 a.m.