Re: [R] Readbin and file position

2004-02-12 Thread Uwe Ligges
Jonathan Greenberg wrote: I have a binary file which is an image with multiple bands, arranged in BSQ format such that R, B and G are all N x M sized matrices (corresponding to Red, Blue and Green colors respectively). The BSQ file arranges the data as [R, B, G], so to access the B matrix, I have

RE: [R] Readbin and file position

2004-02-13 Thread Wiener, Matthew
The "seek" command will allow you to skip to a particular byte position in the file. You can define the position you want relative to your current position, or to the start of the file. Hope this helps, Matt Wiener -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On