char: Return the characters defined by the codes

View source: R/char.R

charR Documentation

Return the characters defined by the codes

Description

Return a string with characters defined by the codes.

Usage

char(n)

Arguments

n

The code to be used to return a character

Details

char returns the characters defined by the codes

Value

A string with characters defined by the codes

Author(s)

Based on this blog: http://datadebrief.blogspot.com/2011/03/ascii-code-table-in-r.html

See Also

Other Characters: asc(), d(), tnirp()

Examples

char(65:75)
char(unlist(tapply(144:175, 144:175, function(x) {c(208, x)})))

HelpersMG documentation built on Sept. 12, 2024, 9:35 a.m.