| To: | s-news@wubios.wustl.edu |
|---|---|
| Subject: | Reading 16-bit data in SPLUS. |
| From: | "Faelt, Edvard" <efaelt@envivopharma.com> |
| Date: | Tue, 17 Feb 2004 10:53:39 -0500 |
|
Hello everyone, I need to read 16-bit integers stored in binary files on Windows into SPLUS 6.2, and can't really figure out a good way of doing it. I've tried using the readMapped() function, but the closest thing it accepts is 32-bit integer mode. I also tried reading the files as 32-bit anyway and then splitting the 32-bit integers into 16-bit ones, but when I do that I can't read the entire contents of the file if it has an odd number of 16-bit integers (the last one will be omitted because I'm trying to read 32-bit integers). So, now I'm wondering how you're supposed to do this. Is there a way of creating your own modes, e.g., or simply reading single bytes from binary files? Any help is appreciated. Thanks,
-------------------------------------
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: AIC for split-plot ANOVA, Spencer Graves |
|---|---|
| Next by Date: | Re: AIC for split-plot ANOVA, Prof Brian Ripley |
| Previous by Thread: | AIC for split-plot ANOVA, Christoph Scherber |
| Next by Thread: | [no subject], Khan, Sohail |
| Indexes: | [Date] [Thread] [Top] [All Lists] |