[R] ASCI characters

Matt Shotwell shotwelm at musc.edu
Mon Aug 16 02:41:29 CEST 2010


How about:

> rawToChar(as.raw(82))
[1] "R"

-Matt

On Sun, 2010-08-15 at 19:50 -0400, Orvalho Augusto wrote:
> Hello guys!
> 
> Is there any function that permits me to get an ASCI character from its
> code? Eg. ascifunction(34) would give me '
> or ascifunction(92) gives \
> 
> Thanks
> Caveman
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

-- 
Matthew S. Shotwell
Graduate Student 
Division of Biostatistics and Epidemiology
Medical University of South Carolina



More information about the R-help mailing list