r4 docs improvements