I'm trying to input data from a flow cytometery file (format FCS 2.0) to
S-Plus. The data is integer valued, written as binary, 2-byte integers.
S-Plus (as I understand) only reads and writes 4-byte integers.
As a work around, I read the data into S-Plus as 4-byte integers and then
transform each 4-byte integer to the corresponding 2 2-byte integers. This
works fine as long as the byte length of the data vector is a multiple of 4.
When it is not, I get an error for trying to read past the end of the file.
Can anyone suggest a work around? Thanks.
Doug Bolgiano
Research Division
Puget Sound Blood Center
Seattle, WA
***********************************************************************
*
This e-mail and any attachments may contain confidential and
privileged information. It has been scanned for viruses. If you are
not the intended recipient, please notify the sender immediately by
return e-mail, delete this e-mail and destroy any copies. Any
dissemination, use, review, disclosure, or distribution of this
information by a person other than the intended recipient is
unauthorized and may be illegal.
|