rawToChar - RとLinuxと...

RとLinuxと...


rawToChar

Rの備忘録

> l10n_info()
$MBCS
[1] TRUE

$`UTF-8`
[1] TRUE

$`Latin-1`
[1] FALSE
> rawToChar(as.raw(65))
[1] "A"
> rawToChar(as.raw(66))
[1] "B
> rawToChar(as.raw(65:(65+25)))
[1] "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
 
Link: Rの備忘録(1823d)
Last-modified: 2010-11-22 (月) 10:51:15 (2945d)