[R] Regex matching that gives byte offset?

Johannes Graumann johannes_graumann at web.de
Wed Oct 28 14:54:49 CET 2009


Hi,

Is there any way of doing 'grep' ore something like it on the content of a 
text file and extract the byte positioning of the match in the file? I'm 
facing the need to access rather largish (>600MB) XML files and would like 
to be able to index them ...

Thanks for any help or flogging,

Joh




More information about the R-help mailing list