hyunjo -
Perhaps charToInt from the R.oo package?
> library(R.oo)
Loading required package: R.methodsS3
R.methodsS3 v1.0.3 (2008-07-02) successfully loaded. See ?R.methodsS3 for help.
R.oo v1.4.6 (2008-08-11) successfully loaded. See ?R.oo for
help.> charToInt('a')
[1] 97> charToInt('7')
[1] 55
- Phil Spector
Statistical Computing Facility
Department of Statistics
UC Berkeley
spector at stat.berkeley.edu
On Wed, 14 Oct 2009, You Hyun Jo wrote:
> Hello,
>
> Do you have a function returns codes of given characters?
>
> Best Regards,
> hyunjo
>
> [[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.
>