mod to R documentation page for embedding