This package helps a user set up an Elsevier template for writing academic journal reports in Rmarkdown. The setup requires very few lines of code and will get you up and running in less than a minute (provided you have all the relevent dependencies installed - see below), with a fully working and good-to-go template.

Using Texevier you can simply start writing your paper / thesis / phd in R.

Dependencies Required

Make sure you have the following installed on your computer:

Dependencies Required

Make sure you have the following installed on your computer:

Optional (Should be installed automatically)

For the full version, install:

Alternatively (preferably) install tinytex:

install.packages(c('tinytex', 'rmarkdown'))

This is a lightweight wrapper for tex, and should save you time and data.


After installing all three at the top, simply run the following code:

    if (!require("devtools")) install.packages("devtools")
    # Input your directory as dir:
    create_template(directory = dir, template_name = "Template", ShowPDFatLaunch = FALSE)

This will automatically install all the needed files and components, and allow you to start working with an Elsevier template.

A template.Rmd file will be opened automatically from the directory provided, which contains all the needed notes on how to write an academic paper in R. I recommend going through that for a good reference before you start working.


Doing research in R allows you to verify your work easily. This template is designed to save the researcher time in terms of setting up a proper template for doing formal research. This is something which could feel daunting and can be time-consuming for even intermediate LaTeX and R users. This package is intended to get you started in less than a minute.

Feel free to edit the templates and use this as a starting point for your own research. I suggest keeping the structure in the folder as is, but of course this is completely up to the researcher.

Thanks to Hanjo Odendaal for adding some valuable code in the template creator as well.