Creating z, t, f reference tables with r

I am writing a ebook on fundamentals of stats and would like to add at the end of the ebook reference tables for z, t, f distributions.

Can someone point me to a source that has the r code (or package) for me to create those tables?

Much appreciated.

I'd start with this and then check the task view. And I'm sure John D. Cook wouldn't find lending his diagram.