Hi all,

I  have a binary file  which have 8*100 bytes. The structure of the file is
as follows: every eigth bytes represent 2 data:the first four bytes is the
little-endian for integer, the next four bytes is the little-endian for
floating32. The structure of the following bytes is as the same as the first
eight bytes'.

As the function readBin only read the binary file with one structure like
this: readBin("my data file",what="integer",size=4,n=200) or readBin("my
data file",what="numeric",size=4,n=200).But only one type of the data can be
read properly.

Can anyone suggest me how should I read this file?

Thanks in advance.

Miao

	[[alternative HTML version deleted]]

