Search notes:

R function: assign

assign('x', 'eggs')
x
# [1] "eggs"

assign(x, 42)
eggs
# [1] 42
Github repository about-r, path: /functions/assign.R

See also

Index to (some) R functions
Variable assignments

Index