All Projects → yihui → Highr

yihui / Highr

Syntax Highlighting for R Source Code

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to Highr

Highlight
Source code to formatted text converter
Stars: ✭ 191 (+430.56%)
Mutual labels:  latex, syntax-highlighting
ntuthesis
台大碩博士論文模板 (R Package)
Stars: ✭ 14 (-61.11%)
Mutual labels:  latex, r-package
Tinytex
A lightweight, cross-platform, portable, and easy-to-maintain LaTeX distribution based on TeX Live
Stars: ✭ 584 (+1522.22%)
Mutual labels:  latex, r-package
Originr
Species origin data from the web in R
Stars: ✭ 13 (-63.89%)
Mutual labels:  r-package
Jaxbin
MathJax and TeX pastebin
Stars: ✭ 15 (-58.33%)
Mutual labels:  latex
Plnmodels
A collection of Poisson lognormal models for multivariate count data analysis
Stars: ✭ 31 (-13.89%)
Mutual labels:  r-package
Spades
R package for developing and running Spatial Discrete Event Simulation models
Stars: ✭ 34 (-5.56%)
Mutual labels:  r-package
Ieeer
Search IEEE publications in R
Stars: ✭ 12 (-66.67%)
Mutual labels:  r-package
Cld2
R Wrapper for Google's Compact Language Detector 2
Stars: ✭ 34 (-5.56%)
Mutual labels:  r-package
Sofa
easy R interface to CouchDB
Stars: ✭ 30 (-16.67%)
Mutual labels:  r-package
Richtextview
iOS Text View (UIView) that Properly Displays LaTeX, HTML, Markdown, and YouTube/Vimeo Links
Stars: ✭ 953 (+2547.22%)
Mutual labels:  latex
Wellknown
WKT <-> GeoJSON
Stars: ✭ 15 (-58.33%)
Mutual labels:  r-package
Graphql
Bindings to libgraphqlparser for R
Stars: ✭ 31 (-13.89%)
Mutual labels:  r-package
Dnd 5e Latex Template
LaTeX package to typeset material for the fifth edition of the "world's greatest roleplaying game".
Stars: ✭ 875 (+2330.56%)
Mutual labels:  latex
Githubinstall
A Helpful Way to Install R Packages Hosted on GitHub
Stars: ✭ 34 (-5.56%)
Mutual labels:  r-package
Img2latex Mathpix
An image to LaTeX tool by MathpixOCR API and JavaFX
Stars: ✭ 872 (+2322.22%)
Mutual labels:  latex
Cv Boilerplate
Programmatic generation of high-quality CVs
Stars: ✭ 967 (+2586.11%)
Mutual labels:  latex
Russian Phd Latex Dissertation Template
LaTeX-template for russian Phd thesis
Stars: ✭ 946 (+2527.78%)
Mutual labels:  latex
Latex4coreldraw
This is a addon for CorelDRAW. It allows to add and edit Latex equations or symbols easily.
Stars: ✭ 20 (-44.44%)
Mutual labels:  latex
Rdrpostagger
R package for Ripple Down Rules-based Part-Of-Speech Tagging (RDRPOS). On more than 45 languages.
Stars: ✭ 31 (-13.89%)
Mutual labels:  r-package

highr

R-CMD-check Downloads from the RStudio CRAN mirror

This is an infrastructure R package for syntax highlighting. It supports LaTeX and HTML output. Not surprisingly, it works best with R code. It attaches markups onto source code, e.g., it turns

a <- 1 # something

into LaTeX code

\hlstd{a} \hlkwb{<-} \hlnum{1} \hlcom{\# something}

or HTML code

<span class="hl std">a</span> <span class="hl kwb">&lt;-</span> <span class="hl num">1</span> <span class="hl com"># something</span>

via

library(highr)
hi_latex("a <- 1 # something")
hi_html("a <- 1 # something")
# or hilight(code, format = "latex"/"html")

This package also has a wrapper function, hi_andre(), for Andre Simon's Highlight package.

There are a few package Markdown vignettes in this package:

browseVignettes(package = "highr")

To install the development version here, use

install.packages('highr', repos = 'http://rforge.net', type = 'source')

This package is licensed under GPL, and is supposed to serve other packages such as knitr.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].