From ggrothendieck at gmail.com  Wed Jul 26 16:41:34 2006
From: ggrothendieck at gmail.com (Gabor Grothendieck)
Date: Wed, 26 Jul 2006 10:41:34 -0400
Subject: [Rd] largest acceptable lookup table in a package
In-Reply-To: <F09E2E20-D3AB-4B36-A270-D10E45990B97@soc.soton.ac.uk>
References: <F09E2E20-D3AB-4B36-A270-D10E45990B97@soc.soton.ac.uk>
Message-ID: <971536df0607260741x74afc95m7a16199af5d40498@mail.gmail.com>

A frame of reference based on:
   http://cran.r-project.org/src/contrib
is the quantiles of the size distribution of the compressed packages:

      0%       5%      25%      50%      75%      95%     100%
      58     5800    17000    62500   249500  1500000 15000000

On 7/26/06, Robin Hankin <r.hankin at noc.soton.ac.uk> wrote:
> Hi
>
>
> One of my packages needs a look-up table of pre-calculated
> numbers in the data directory.
>
> I would like to have the matrix as large as possible.
>
> What is the largest size matrix that would be an acceptable datafile in
> an R package?
>
>
>
> [
> The table is a square, upper triangular matrix
> consisting  of logs of Stirling numbers calculated by Maple.
>
> As discussed on the List a few days ago (thanks again David!)
> Stirling numbers  are computationally challenging;
> one needs exact integer arithmetic for very large
> integers  for their calculation (a 100x100 table requires  ~10^157)
> ]
>
>
>
>
> --
> Robin Hankin
> Uncertainty Analyst
> National Oceanography Centre, Southampton
> European Way, Southampton SO14 3ZH, UK
>  tel  023-8059-7743
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



[Rd] largest acceptable lookup table in a package
Gabor Grothendieck