latin1: Latin-1

View source: R/latin1.R

latin1R Documentation

Latin-1

Description

Get character from the Latin-1 code chart (or get code point of a character if reverse = TRUE).

Usage

latin1(x = 0:255, reverse = FALSE)

Arguments

x

a code point as decimal or hexadecimal number (or a character if reverse = TRUE).

reverse

whether to get code point of a character.

Value

String vector, or integer vector if reverse = TRUE.

Note

Hexadecimal number can be passed as 0xfe or "fe", but not "0xfe".


arnima-github/arni documentation built on Oct. 28, 2023, 6:18 p.m.