IMPORTANT: the latest version of
editR (>=0.2) has undergone important
modifications (see release notes below). The most important changes are the
editR now relies (almost) entirely on packages available through
CRAN and not on a large number of experimental
packages as previously. This will facilitate the installation process.
As a consequence of these modifications I strongly recommend that you reinstall
editR following the new instructions below.
editR is a basic Rmarkdown editor with instant
previewing of your document. It allows you to create and edit
Rmarkdown documents while instantly previewing the
result of your writing and coding. It also allows you to render your
Rmarkdown file in any format permitted by the
rmarkdown R package.
editR from this GitHub repository is now pretty straightforward.
Simply copying the following lines of code in your R terminal should to install
everything you need to run
editR on your computer:
if (!require("devtools")) install.packages("devtools") devtools::install_github("trestletech/shinyAce") devtools::install_github("swarm-lab/editR") library(editR)
editR requires the installation of the latest versions of following packages
It also requires the installation of the development version of the following package on GitHub:
Finally, to render documents in various output formats (.html, .pdf, .docx),
editR uses the
function from the
package. This function requires the installation of
to work. Installation instructions for
pandoc can be found at:
For Mac users, I recommend that you install
pandoc via Homebrew or
editR, simply run this line of code in your R console:
with "path/to/file.Rmd" the path to a new or existing .Rmd (or .md) file. If this
is a new file, it will be created at this location. You can also open an existing
file from within
editR using the
File > Open file menu.
You can also open
editR without providing a path to a new or existing .Rmd file.
In this case a temporary new file will be created that can then be saved from
withing the user interface of
For more information about authoring Rmarkdown files, visit http://rmarkdown.rstudio.com/.