powered by
convertBase(x, base1 = 10, base2 = 10)
as.octmode
as.hexmode
strtoi
identical(convertBase(1234,base2=8),as.character(as.octmode(1234))) convertBase(17771,base1=8,base2=30) convertBase(17771,base1=8,base2=10) convertBase(8185,base1=10,base2=30)
Run the code above in your browser using DataLab