Skip to content
Prev 59123 / 63424 Next

[External] exists, get and get0 accept silently inputs of length > 1

I noticed the recent commit to R-dev (r79434).  Is this wise? I've
often used get() in constructions like

for (j in ls()) if (is.numeric(x <- get(j))) ...

(and often interactively, rather than in a package)

Am I to understand that get(j) will now be equivalent to `j` even if j
is a string referring putatively to another object?
On Sat, 14 Nov 2020 at 01:34, <luke-tierney at uiowa.edu> wrote: