R-pandoc alternatives and similar packages
Based on the "Text" category.
Alternatively, view R-pandoc alternatives based on common mentions on social networks and blogs.
-
pandoc-citeproc
Library and executable for using citeproc with pandoc -
scholdoc
Fork of Pandoc for the implementation of a ScholarlyMarkdown parser -
prettyprinter
A modern, extensible and well-documented prettyprinter. -
blaze-from-html
A blazingly fast HTML combinator library for Haskell. -
skylighting
A Haskell syntax highlighting library with tokenizers derived from KDE syntax highlighting descriptions -
commonmark
Pure Haskell commonmark parsing library, designed to be flexible and extensible -
regex-genex
Given a list of regexes, generate all possible strings that matches all of them. -
regex-applicative
Regex-based parsing with an applicative interface -
pandoc-csv2table
A Pandoc filter that renders CSV as Pandoc Markdown Tables. -
pretty-show
Tools for working with derived Show instances in Haskell. -
servant-checked-exceptions
type-level errors for Servant APIs. -
double-conversion
A fast Haskell library for converting between double precision floating point numbers and text strings. It is implemented as a binding to the V8-derived C++ double-conversion library. -
text-format
A Haskell text formatting library optimized for ease of use and high performance. -
diagrams-pandoc
A pandoc filter to express diagrams inline using the haskell EDSL diagrams. -
boxes
A pretty-printing library for laying out text in two dimensions, using a simple box model. -
ghc-syntax-highlighter
Syntax highlighter for Haskell using the lexer of GHC
Clean code begins in your IDE with SonarLint
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of R-pandoc or a related project?
README
A pandoc filter to embbed R plots inside markdown documents.
See the Blog post for more details on usage.
Usage
Install R:
sudo apt-get install r-base
Create a file called [demo.md](demo.md) with the following text:
Here is a nice plot:
~~~ {.Rplot}
require(stats)
D = 150
T = 10
t = seq(0, 80, 0.01)
x = -D*exp(-(t/T))+D
v = (D/T)*exp(-(t/T))
plot(t, x, type="l", main="position through time", xlab="time (s)", ylab="position (m)", xlim=c(0,80), ylim=c(0, D+10), xaxs = "i", yaxs = "i")
~~~
Now run:
pandoc -t html demo.md --filter R-pandoc -o demo.html -s
The file demo.html should now have a nice plot included:
[plot](img/Rplot.png)
Details
R-pandoc
compiles code blocks containing R plots
and includes the resulting images in the pandoc markup. It is meant
to be run as a
pandoc filter as
shown above.
Installing
git clone https://github.com/cdupont/R-pandoc.git
cd R-pandoc
stack install