Publishing your notebooks from RStudio to Atril is extremely simple. Once you are satisfied with your work and ready to publish, just click the 'Upload & Publish' button on the Addins dropdown, and follow the instructions. Once published, the post will become available with the given short-link.
The project is hosted on Github but the installation is super easy and you need only a couple of seconds:
install.packages("devtools") devtools::install_github("iuga/AtrilConnector")
After complete, you can launch the addin from the Addins
dropdown on the RStudio IDE or Tools > Addins > Browse addings ... > atrilconnector > Execute
.
The addin only needs your api key to work that you can find on your settings page. The first time the addin is launched will ask you this value, it will store it on a configuration file in your home folder: ~/.atril
. You can modify the file if needed.
.Rmd
file you want to compile and publish.HTML
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.