updates to R documentation