R layouts: machinery, two examples to test