Learn R Programming

HelpersMG (version 6.2)

char: Return the characters defined by the codes

Description

Return a string with characters defined by the codes.

Usage

char(n)

Value

A string with characters defined by the codes

Arguments

n

The code to be used to return a character

Author

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

Details

char returns the characters defined by the codes

See Also

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

Examples

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

Run the code above in your browser using DataLab