I have a 100x2 matrix to go into a package. I could type it into the R code
but, more generally, what is the *best* way to read a table from disk into,
say, package 'foo' when it is loaded into memory via library(foo)? I thought
of having .onLoad create an environment and assign a matrix read from disk
(read.csv), put "tbl.csv" into the directory 'inst/extdata' as recommended
("Writing R Extensions"), and use the .Library string to find the path to
'foo/inst/extdata'. However, I don't see other packages using an
'inst/extdata' directory.

Is there a "conventional" way to read auxiliary tables into a package when
it is loaded?

Thanks in advance for any help.

Dan

	[[alternative HTML version deleted]]

