The R package RTLknitr provide seamless support for right-to-left (RTL) languages, such as Persian and Arabic, in R Markdown documents and LaTeX output. It includes functions and hooks that enable easy integration of RTL language content, allowing users to create documents that adhere to RTL writing conventions.


You can install the development version from Github



To cite package RTLknitr in publications use:

Esmaeili, F. (2023). RTLknitr: Right to Left Dynamic Documents Using knitr . R package version 1.0.0, https://github.com/FoadEsmaeili5/RTLknitr.