str2dig("10010") # [1] 1 0 0 1 0
intToASCII(1:255)[121:129] # "x" "y" "z" "{" "|" "}" "~" "\177" "\200"
sapply(1:50,intToBase,2)
sapply(1:50,intToBase,7)
sapply(1:50,intToOct)
sapply(1:50,intToHex)
Run the code above in your browser using DataLab