From lachmann at eva.mpg.de  Fri Aug  5 15:22:40 2011
From: lachmann at eva.mpg.de (Michael Lachmann)
Date: Fri, 5 Aug 2011 15:22:40 +0200
Subject: [Rd] slightly speeding up readChar()
In-Reply-To: <20027.10552.641615.124070@max.nulle.part>
References: <BAC8BBAE-B965-4BD7-ABFD-A016AC875223@eva.mpg.de>
	<9DA22EB1-E813-4D5D-91EB-46C1E9E8947C@r-project.org>
	<590F85D8-4CD2-4182-917F-6E8900A040DB@eva.mpg.de>
	<20027.10552.641615.124070@max.nulle.part>
Message-ID: <5EC3682B-D93E-4764-803A-BE5A56F1FB4E@eva.mpg.de>


On 5 Aug 2011, at 1:20AM, Dirk Eddelbuettel wrote:

> When you know the (fixed) structure of the data, the CRAN package mmap can be
> a huge winner.

Thanks! I didn't know that.

Is there a package that provides methods for mmap, like sum(x) or maybe even y=x+z
where x, and z are mmaps?

I assume that once you mmap to a huge file, you do operations on it by working on chunks at a time... are there packages for that, or do I have to write my own code?

Thanks!

Michael


[Rd] slightly speeding up readChar()
Michael Lachmann