sym

0th

Percentile

Create a symbol or list of symbols

These functions take strings as input and turn them into symbols. Contrarily to as.name(), they convert the strings to the native encoding beforehand. This is necessary because symbols remove silently the encoding mark of strings (see set_str_encoding()).

Usage
sym(x)

syms(x)

Arguments
x

A string or list of strings.

Value

A symbol for sym() and a list of symbols for syms().

Aliases
  • sym
  • syms
Documentation reproduced from package rlang, version 0.1.2, License: GPL-3

Community examples

Looks like there are no examples yet.