Description Usage Arguments Details Value Author(s) Examples
This function creates a GUI to edit Rmarkdown
documents and display an instant preview of the document as it is being
written. Rmarkdown documents can be rendered directly from the GUI.
1 |
file |
The path (as a character string) to an existing .Rmd/.md file, or to a new .Rmd/.md file. If the file does not exist, it will be created when the GUI starts.] |
If called from RStudio on Mac and Linux, it will open in the internal RStudio browser. If called from a terminal or on Windows, it will open in your default internet browser. editR should work without any problem with recent versions of most internet browsers. It is likely to break with older versions.
This function does not return anything.
Simon Garnier: garnier@njit.edu, @sjmgarnier
1 2 | # Create and edit a new Rmarkdown document in the current working directory
editR("example.Rmd")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.