further R group handling
Fixes #187
Fixes #186