gdoc | R Documentation |
Create a Google Doc from an R Markdown File
gdoc(reference_docx = NULL, token = gd_auth(), browse = NULL, keep_md = FALSE, clean_supporting = TRUE)
reference_docx |
Use the specified file as a style reference in producing an intermediate MS Word docx file. For best results, the reference docx should be a modified version of a docx file produced using pandoc. 'NULL' requests the default reference docx built into the package. |
token |
Google OAuth2 token. |
browse |
Logical. Whether to open the created Google Doc in the browser. Default (NULL) will open only in interactive R sessions. |
keep_md |
Logical. Whether to retain the knit markdown file. |
clean_supporting |
Logical. Whether to keep other intermediate files, including the MS Word docx file. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.