Movatterモバイル変換
[0]ホーム
rim 0.8.1
Modifications
- removed test for plot3d() because of an error in Maxima callinggnuplot with an invalid argument, will be re-added with the next versionof Maxima
- The unit test for the engine now calls explicitly
rim_global() to evaluate the parsed expressions from Maxima(added a note in the doc page as well) - changed the package startup message
rim 0.8.0
Modifications
- fixed NOTE for assigment into
globalenv() when checkingpackage
Minor
- added REPL mode (
maxima.repl())
rim 0.7.1
Modifications
- R6 class finalize() now private, as required by package
- fixed failing example for
maxima.load() under Fedora(#47) and added testing file
rim 0.7.0
Modification
- fixes faulty parsing of matrices
- re-factored printing method
maxima.print andiprint, which now reliably detected whether called frominteractive mode or from knitr engine, thus removed internal functionengine_print() (Maxima S3 object now gainedfrom_engine flag) - running code chunks interactively (from RStudio) now works asexpected using the “interactive” Maxima connection object it’s optionsaccordingly
- comment handling now works (both interactive and engine), fixed aninfinite loop occurrence when sent command ended with a comment,comment-only lines of code inside code-chunks are now properlyprinted
- empty lines in code chunks are now preserved as inputted
- fixed engine test failure caused by different output code widthsettings and unneccessarily inserted linebreaks between code input andoutput
rim 0.6.4
Modification
- new options
max.attempts andsleep.secondsto control repeated testing for finished rendering of images - fixed issue #37
rim 0.6.3
Modification
- fixed error under Fedora 36+ caused by Maxima image inclusion, whenthe image file isn’t guaranteed to exist when it’s file path is returnedfrom Maxima
rim 0.6.2
Modification
- added more reliable detection for output document - Maxima knitrengine (fixes previous CRAN test failure for Fedora 36+).
rim 0.6.1
Modification
- fixed bug from CRAN check failure on Fedora and R-devel
rim 0.6.0
Minor
- added new function
maxima.eval() that can either take acharacter string or an S3 object of class “maxima” (as returned frommaxima.get()). In either case, the output result fromMaxima (if not suppressed) is parsed into a R-expression and getsevaluated by this function. Objects returned frommaxima.get() carry an attributed named “parsed” that is theunevaluted 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 simplyparsed into “normal” functions)
- arrays: creating and setting
- matrices: creation, multiplication, transposition, inversion,determinants
- lists
- conditionals
- added engine option
output.var that can name a variableto capture parsed Maxima output into a named list. The names of thislist are the output labels.
rim 0.5.3
Modification
- user can specify custom path to Maxima executable by settingenvironment variable “RIM_MAXIMA_PATH”
rim 0.5.2
Modification
- fixed tests to pass for Fedora 36
- built-in safeguards against infinite loops when Maxima couldn’t bestarted or initialized (issue #29)
- reading process ID and version number now using class MReader
rim 0.5.1
Modification
knitr-engine now supports chunk optionsecho,eval andinclude, adescription can be found in the documentation page- fixed several issues related to changes with Maxima version5.46.0
rim 0.5.0
Minor
knitr-engine now supports plotting commands: plot2d(),plot3d(), draw(), draw2d(), draw3d() (and others that are based on thosementioned), depending on the output format (PDF or HTML), plots aresaved as PDF or PNG respectively- Added inline output function to be used when knitting
RMarkdown documents. - Restructured the return type of the get function: Instead of acharacter string, now a list is returned storing every output format ofthe result including both with and without reference labels.
- Added a global option handling function
maxima.options() and removed individual option settingfunctionsmaxima.setformat(),maxima.engine.format() and friends - Whether reference labels are printed or not when knitting a
RMarkdown document can now be controlled by settingmaxima.options(engine.label)
Modification
- Removed some unused utility functions from code
- Removed unnecessary C++17 compiler flag
- Improved documentation
- Updated heuristics for catching warnings and errors
- Improved typesetting of output labels when knitting
RMarkdown documents - Improved warning/ error handling heuristics (fixing issue #20)
rim 0.4.1
Modification
- fixed issue #16. code chunks that contain commands spanning multiplelines are now printed as-is (except for empty lines, which are removed)with the preceding input reference label
- fixed the issue #17, caused by a socket-read-write-concurrencyconflict which led to split lines read from Maxima and a failure tovalidate it’s output. This is achieved now by an internal helper R6class
MReader that stashes away incomplete lines andcompletes it upon re-calling. - fixed reference manual that is generated by CRAN, but previously didnot contain the package main functions
- Improved description in
DESCRIPTION ofSystemRequirements - added exported function
maxima.isInstalled() that isnow used upon package attachment, where a message is signaled to installMaxima, if no installation was found. - added exported function
maxima.version() which is nowused upon package attachment, where a message is signaled when theinstalled version is lower than the version with which this package hasbeen tested - Test file
tests/testthat/test-engine.R: knitting testpage now suppresses Warnings, which are subject oftests/testthat/test-warnings.R
rmaxima 0.4.0/ rim 0.4.0
- added
maxima.engine.format() function that can be usedto change the output format of theknitr engine - fixed issue that arises when Maxima takes longer to start (whichpreviously caused the interface to freeze)
- added functions to record the version number of Maxima that is beingused
- renamed package to “rim” to avoid confusion with
maxima’srmaxima - communication is now implemented using sockets and the processing ishandles by two nested R6 classes
- return type is now a S3 class of type maxima. There are two methods
iprint() andoprint() for printing an maximaS3 object: printing the input command and output respectively, includingreference labels. - removed external C++ library dependencies (now using sockets forcommunicating with Maxima)
knitr engine now prints output after each input line,it also prints the input reference label in front of the command
rmaxima 0.0.0.9000
- removed dependency from boost (switched to libexecstream)
- maxima.get() returns character vector with added attributes forreference labels, format and it’s originating command
- fixed Maxima error (message) forwarding to R
- implement
knitr-engine for maxima using thisinterface - Implement stop function to end maxima child process for debuggingpurposes
- Handles
asksign and similar feedback interruptions - Added interface to Maxima’s apropos()-function
- Fixed: If command terminates with
\$ then this causes asegmentation fault, which kills the R process. The cause being thatmaxima returns immediately with the next input prompt - added
roxygen2 documentation - fixed
system.file call inside constructor to work withdevtools::load_all() - Added a
NEWS.md file to track changes to thepackage. - Add test files
- implemented output display as
tex (not yetuser-friendly) - added initialization files
- added function void
loadModule(const std::string &s) - Removed boost::regex linking dependency
- fixed pipe stream synchronization
[8]ページ先頭