Thanks guys! 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: > Hello, > > 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 ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.