Ruby Convert Object To String Dataframe In R