From r.hankin at noc.soton.ac.uk  Wed Jul 26 15:21:21 2006
From: r.hankin at noc.soton.ac.uk (Robin Hankin)
Date: Wed, 26 Jul 2006 14:21:21 +0100
Subject: [Rd] largest acceptable lookup table in a package
Message-ID: <F09E2E20-D3AB-4B36-A270-D10E45990B97@soc.soton.ac.uk>

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



[Rd] largest acceptable lookup table in a package
Robin Hankin