[R] readBin: read from defined offset TO defined offset?
johannes_graumann at web.de
Fri May 15 20:41:35 CEST 2009
Duncan's hints regarding "character" (which I was naturally using ;0) and
the double "readBin" solved my problem - I'm extracting an index from a
REALLY big XML file to get fast direct access to subsections, so that I only
have to parse them rather than the whole thing (only SAX-style passing would
be possible, since there's no way the thing will fit into memory).
Thanks again, Joh
Johannes Graumann wrote:
> With the help of "seek" I can start "readBin" from any byte offset within
> my file that I deem appropriate.
> What I would like to do is to be able to define the endpoint of that read
> as well. Is there any solution to that already out there?
> Thanks for any hints, Joh
More information about the R-help