powered by
strtoi
itostr(x, base = 10L)
integer
integer(1)
character(length(x))
# binary representation of the first 10 natural numbers itostr(1:10, 2) # base36 encoding of a large number itostr(1e7, 36)
Run the code above in your browser using DataLab