This is the package which can help you turn numeric,dataframe,matrix into fraction form.
conda install r_test::r-fraction