Learn R Programming

spork (version 0.3.5)

Generalized Label Formatting

Description

The 'spork' syntax describes label formatting concisely, supporting mixed nesting of subscripts and superscripts to arbitrary depth. It intends to be easy to read and write in plain text, and easy to convert to equivalent presentations in 'plotmath', 'latex', and 'html'. Greek symbols and a multiplication symbol are explicitly supported. See ?as_spork and ?as_previews.

Copy Link

Version

Install

install.packages('spork')

Monthly Downloads

261

Version

0.3.5

License

GPL-3

Maintainer

Tim Bergsma

Last Published

October 12th, 2024

Functions in spork (0.3.5)

as_latex

Coerce to Latex
as_previews.spork

Compare Previews of Spork
as_spork.spork

Coerce Spork to Spork
as_spar

Parse Spork.
as_plotmath.greek

Convert Greek to Plotmath
as_latex.greek

Convert Greek to Latex
as_preview.html

Preview Spork as Html
as_plotmath

Coerce to Plotmath
as_preview

Preview Something
as_spork.factor

Coerce Factor to Spork
as_latex.latex

Coerce Latex to Latex
concatenate.plotmath

Concatenate Plotmath
as_plotmath.spar

Convert One Spork to Plotmath
as_latex.default

Coerce Default to Latex
as_previews

Compare Previews
explicit

Make Something Explicit
htmlToken

Process Html Token
latexToken

Process Latex Token
as_previews.default

Default Compare Previews
as_plotmath.spork

Convert Spork to Plotmath
plotmathToken

Process Plotmath Token
concatenate.NULL

Concatenate NULL
concatenate

Concatenate Something
reexports

Objects exported from other packages
as_spar.spork

Parse Spork
as_spar.default

Parse Spork by Default
as_preview.latex

Preview Spork as Latex
as_spork

Coerce to Spork
[.html

Subset Html
[.latex

Subset Latex
[[.plotmath

Element-select Plotmath
explicit.spork

Make Spork Explicit
as_spork.character

Coerce Character to Spork
[[.spork

Element-select Spork
ggplot.plotmath

Plot Plotmath
as_preview.plotmath

Preview Spork as Plotmath
concatenate.character

Concatenate Character
concatenate.latex

Concatenate Latex
[.spork

Subset Spork
html2xml

Convert HTML Greek entity references to XML
[.plotmath

Subset Plotmath
greek

Greek letters recognized by Spork
ggplot.spork

Plot Spork
goodToken

Test Whether Token is Parseable
[[.html

Element-select Html
[[.latex

Element-select Latex
as_html.greek

Convert Greek to Html
as_html.spar

Convert One Spork to Html
as_html.spork

Convert Spork to Html
as_greek

Convert to Greek
as_html

Coerce to Html
as.png.spork

Convert Spork to PNG
as.png.plotmath

Convert Plotmath to PNG
as.expression.plotmath

Coerce Plotmath to Expression
as.list.spork

Coerce Spork to List
as_greek.default

Convert character to Greek
as_latex.spar

Convert One Spork to Latex
as_latex.spork

Convert Spork to Latex