[R] binary representation of an integer?

Mai Zhou mai at ms.uky.edu
Tue Feb 15 20:22:41 CET 2000

Is there a function or other ways in R that can find the 
binary representation of an integer?
(or list all those representations for integers 0:63, for example)
OR do I have to built such a table?

i.e.   something like  binary(3)= 11
                       binary(4)= 100  etc.


Mai Zhou
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list