Skip to content
Prev 105506 / 398506 Next

backticks

Robin Hankin wrote:
I don't know whether we really want to be that dogmatic about it, but in
a nutshell

`like this` <- 2
"like that" <- 3
print(`like this`)
print("like that")

I.e. backtick'ed names work whereever ordinary names do, but quoted
names work only on the LHS of assignments.

The note in ?formula should probably be understood defensively: We
intend backtick'ed names to work in all contexts, but  there may be
programming practices where the backticks are not preserved (notably if
there is a deparse-reparse step involved).