tostring function

Convert an rtable object to a string