minor edits to R doc