1

I came up with this:

as.numeric(charToRaw("ABC"))
[1] 65 66 67

Is there an R function to do this?

Joshua Ulrich
  • 173,410
  • 32
  • 338
  • 418

0 Answers0