Displaying 1 result from an estimated 1 matches for "01ed6ae781".
2007 May 21
0
Need 64-bit integers on 32-bit platform
...(), size=8, 1)
[1] -311761023
[1] -311756172
I can get the hex values of these numbers like this:
TimeStamp <- readBin(connection, raw(), 8)
[1] 81 e7 6a ed 01 00 00 00
[1] 74 fa 6a ed 01 00 00 00
I can see what these number should be by converting to decimal in Excel:
=HEX2DEC("01ed6ae781")
8278173569
=HEX2DEC("01ed6afa74")
8278178420
How can I get these 8-byte integers in R so I don't have to use this ugly
kludge?
# KLUDGE
TimeStamp <- readBin(connection, integer(), size=4, 2)
> TimeStamp
[1] -311761023 1
# Convert integers to doubles sinc...