Hmmm ... that should do it, thanks. But how would one use this on a file
without reading it into memory completely?
Joh
On Wednesday 28 October 2009 16:29:00 Prof Brian Ripley wrote:
Do you mean like regexpr() (on the same help page)?
Depending on your locale, you might actually prefer the
On Mon, 2 Nov 2009, Johannes Graumann wrote:
Hmmm ... that should do it, thanks. But how would one use this on a file
without reading it into memory completely?
?file, ?readLines, ?readBin
will tell you about connections.
Joh
On Wednesday 28 October 2009 16:29:00 Prof Brian Ripley wrote:
On Monday 02 November 2009 13:41:45 Prof Brian Ripley wrote:
On Mon, 2 Nov 2009, Johannes Graumann wrote:
Hmmm ... that should do it, thanks. But how would one use this on a file
without reading it into memory completely?
?file, ?readLines, ?readBin
will tell you about connections.
...
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
Do you mean like regexpr() (on the same help page)?
Depending on your locale, you might actually prefer the character
offset: if you want to match in a MBCS and have byte offsets you will
need to work a bit harder if useBytes=TRUE is not sufficient for you.
On Wed, 28 Oct 2009, Johannes
5 matches
Mail list logo