From sfalcon at fhcrc.org  Wed Jul 26 16:26:30 2006
From: sfalcon at fhcrc.org (Seth Falcon)
Date: Wed, 26 Jul 2006 07:26:30 -0700
Subject: [Rd] largest acceptable lookup table in a package
In-Reply-To: <F09E2E20-D3AB-4B36-A270-D10E45990B97@soc.soton.ac.uk> (Robin
	Hankin's message of "Wed, 26 Jul 2006 14:21:21 +0100")
References: <F09E2E20-D3AB-4B36-A270-D10E45990B97@soc.soton.ac.uk>
Message-ID: <m21ws8jvc9.fsf@ziti.local>

Robin Hankin <r.hankin at noc.soton.ac.uk> writes:
> One of my packages needs a look-up table of pre-calculated
> numbers in the data directory.
>
> What is the largest size matrix that would be an acceptable datafile in
> an R package?
>

Do you need the entire lookup table in memory at once?  If not, you
could use RSQLite and put the data there.  Then you would be limited
by file size rather than RAM.

+ seth



[Rd] largest acceptable lookup table in a package
Seth Falcon