The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
We have added a chunk engine that outputs (an object) to tex format.
That is, tex()
is applied to the object and the output is
put inside a display math environment.
For example, if you write the following:
You will get this result:
\[\left[\begin{matrix}3 x^{2} & 2 y\end{matrix}\right]\]
```{rtex}
def_sym(z, w)
q <- z + z^2 + w^3
# Comment
der(q, c(z, w))
p <- z^2 + w^8
der2(p, c(z, w))
```
Gives
\[\left[\begin{matrix}2 z + 1 & 3 w^{2}\end{matrix}\right]\]
\[\left[\begin{matrix}2 & 0\\0 & 56 w^{6}\end{matrix}\right]\]
Note that to achieve this, tidying code has been disabled for
rtex
chunks.
\[\left[\begin{matrix}2 & 0\\0 & 56 w^{6}\end{matrix}\right]\]
tex()
You can also create your own custom tex()
function:
\[\left[\begin{matrix}2 & .\\. & 56 w^{6}\end{matrix}\right]\]
The reason this works is because rtex
just calls
tex()
and if you define one in global namespace, then this
is previous in the search path than the one provided by
caracas
.
Note that all lines generating output will get
tex()
’ed.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.