format_rcell function

Format rcell objects