I see that in R, there is an example of running Fisher's exact test (see
?fisher.test) with an $r \times c$ contingency table with $r, c > 2$.
I could not find any such material in Agresti's Categorical Data Analysis, 3rd ed. Is there a standard reference for Fisher's exact test for such contingency tables? Textbook and/or journal article would be fine; however, I don't want non-peer-reviewed websites.