#rim 0.6.0 ## Minor - added new function maxima.eval()
that can either take a character string or an S3 object of class
“maxima” (as returned from maxima.get()
). In either case,
the output result from Maxima (if not suppressed) is parsed into a
R-expression and gets evaluated by this function. Objects returned from
maxima.get()
carry an attributed named “parsed” that is the
unevaluted R-expression of the returned Maxima result. Parsing works for
- unary and binary operators - named function calls - function
definitions - lambda function calls - memoizing array function
definition (those are currently simply parsed into “normal” functions) -
arrays: creating and setting - matrices: creation, multiplication,
transposition, inversion, determinants - lists - conditionals - added
engine option output.var
that can name a variable to
capture parsed Maxima output into a named list. The names of this list
are the output labels.
knitr
-engine now supports chunk options
echo
, eval
and include
, a
description can be found in the documentation pageknitr
-engine now supports plotting commands: plot2d(),
plot3d(), draw(), draw2d(), draw3d() (and others that are based on those
mentioned), depending on the output format (PDF or HTML), plots are
saved as PDF or PNG respectivelyRMarkdown
documents.maxima.options()
and removed individual option setting
functions maxima.setformat()
,
maxima.engine.format()
and friendsRMarkdown
document can now be controlled by setting
maxima.options(engine.label)
RMarkdown
documentsMReader
that stashes away incomplete lines and
completes it upon re-calling.DESCRIPTION
of
SystemRequirements
maxima.isInstalled()
that is
now used upon package attachment, where a message is signaled to install
Maxima, if no installation was found.maxima.version()
which is now
used upon package attachment, where a message is signaled when the
installed version is lower than the version with which this package has
been testedtests/testthat/test-engine.R
: knitting test
page now suppresses Warnings, which are subject of
tests/testthat/test-warnings.R
maxima.engine.format()
function that can be used
to change the output format of the knitr
enginemaxima
’s rmaxima
iprint()
and oprint()
for printing an maxima
S3 object: printing the input command and output respectively, including
reference labels.knitr
engine now prints output after each input line,
it also prints the input reference label in front of the commandknitr
-engine for maxima using this
interfaceasksign
and similar feedback interruptions\$
then this causes a
segmentation fault, which kills the R process. The cause being that
maxima returns immediately with the next input promptroxygen2
documentationsystem.file
call inside constructor to work with
devtools::load_all()
NEWS.md
file to track changes to the
package.tex
(not yet
user-friendly)loadModule(const std::string &s)