draft of R Index
fixed some names
update docs