printWithName prints both the name and value of a variable. Useful for debug purposes.

printWithName(x)

Arguments

x

variable

See also

preview, prv.

Examples

a<-1:10 .pn(a)
#> a #> [1] 1 2 3 4 5 6 7 8 9 10