Jiří,
For your first question, the NA names make sense if you think of indexing with
a character vector as the same as menu[match(select, names(menu))]. You're not
indexing with "beans"; rather, "beans" becomes NA because it's not in the names
of menu. (This is how it's documented in ?`[`: "Cha
Henrik,
I was able to reproduce this both with Rscript and interactively using the same
version of R you're using (fresh install) and Windows 10.0.22621.2715. It took
about a dozen tries.
Steve
Original Message
On Jan 6, 2024, 12:38, Henrik Bengtsson wrote:
> ISSUE: On MS Wi