How To Make A Table A Dataframe In R