Add code and test to reform R<>

Add code and test to reform R<>.
Fix bag with tables reformation and update index.html

Fix bag with tables reformation and update index.html.