Angel Lopez wrote:
Thanks for the advise.
I think I've found the solution, the problem was that the file had been
written from a C program using a structure containing floats and int, if
I rewrite the C code not using a structure but independent floats and
ints the data then is read smoothly
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
Angel Lopez wrote:
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
Thanks for the advise.
I think I've found the solution, the problem was that the file had been
written from a C program using a structure containing floats and int, if
I rewrite the C code not using a structure but independent floats and
ints the data then is read smoothly into R. I still can't