I think that this one finds a binary representation of integer but does not
print data in binary format (creating binary file, like write(unit,*) in
FORTRAN).
--- On Wed, 18/6/08, jim holtman <[EMAIL PROTECTED]> wrote:
> From: jim holtman <[EMAIL PROTECTED]>
> Subject: R
check out the as.character.binmode in the R.util package:
> ?as.character.binmode
> intToBin(12345)
[1] "1100111001"
>
On Tue, Jun 17, 2008 at 8:05 PM, Edna Bell <[EMAIL PROTECTED]> wrote:
> Hi r Gurus:
>
> Is there a way to print numbers in binary format, please?
>
> I know that you can use
Hi r Gurus:
Is there a way to print numbers in binary format, please?
I know that you can use sprintf for hex, but I'm not sure how to get binary.
Thanks
Edna
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do
3 matches
Mail list logo