Displaying 1 result from an estimated 1 matches for "inetgers".
Did you mean:
inetegers
2004 Mar 17
1
reading short int and float from binary connection
Hi,
I have a binary file with mixture of short integers (2 bytes) and floats
(4 bytes).
To get the data into R I use readBin reading each value one at a time
(n=1) but it is giving me headaches, two questions:
-In the "what" option is there any difference between "integer" and "int"?
-To read the short int I use what="int" and size=2 and to read the