Learn R Programming

RTLknitr

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.

Installation

You can install the development version from Github

install.packages("remotes")

remotes::install_github("FoadEsmaeili5/RTLknitr")

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.

Copy Link

Version

Install

install.packages('RTLknitr')

Monthly Downloads

132

Version

1.0.0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Foad Esmaeili

Last Published

August 25th, 2023

Functions in RTLknitr (1.0.0)

Centering

Centering Caption of LaTeX Table
hooks_rtl

Customize knitr Hooks for Right-to-Left (RTL) Text Formatting
tab_header_lbl

Create a Labeled Header for gt Tables
markdown_rtl_header

Generate a YAML header for an R Markdown document with RTL support
markdown_rtl

Enable Right-to-Left (RTL) Formatting for Markdown Documents
remove_escape_latex

Remove Escaped LaTeX Formulas from Text