Output Decimals as Fractions in LaTeX

Anybody know of any way I can compute numbers in R and then pass it to a function like pander() and it will output fractions instead of decimals?

Maybe use something like MASS's fractions function?

https://stat.ethz.ch/R-manual/R-devel/library/MASS/html/fractions.html