Package: redcas 0.2.1

Martin Gregory

redcas: An Interface to the Computer Algebra System 'REDUCE'

'REDUCE' is a portable general-purpose computer algebra system supporting scalar, vector, matrix and tensor algebra, symbolic differential and integral calculus, arbitrary precision numerical calculations and output in 'LaTeX' format. 'REDUCE' is based on 'Lisp' and is available on the two dialects 'Portable Standard Lisp' ('PSL') and 'Codemist Standard Lisp' ('CSL'). The 'redcas' package provides an interface for executing arbitrary 'REDUCE' code interactively from 'R', returning output as character vectors. 'R' code and 'REDUCE' code can be interspersed. It also provides specialized functions for calling 'REDUCE' functions, for example, solving simultaneous or differential equations, differentiation and factorization of polynomials and integers returning the output as an appropriate 'R' object. A further specialized function uses 'REDUCE' features to generate 'LaTeX' output and post-processes this for direct use in 'LaTeX' documents using, e.g., 'Sweave'.

Authors:Martin Gregory [aut, cre]

redcas_0.2.1.tar.gz
redcas_0.2.1.tar.gz(r-4.7-any)redcas_0.2.1.tar.gz(r-4.6-any)
redcas_0.2.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
redcas/json (API)

# Install 'redcas' in R:
install.packages('redcas', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

4.03 score 53 scripts 137 downloads 29 exports 0 dependencies

Last updated from:163f2277cb. Checks:6 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK104
source / vignettesOK311
linux-releaseOK119
windows-develOK50
windows-releaseOK51
wasm-releaseOK68

Exports:asltxdlmMatchfactorizefnMatchltx.append.eolodesolveprintR2latexred2Rarrayred2Rfnred2RlistredCloseredCodeDirredDfredDropOutredExecredExpandredFuncredinredLatexredlsExtractredSolveredSplitOutredStartsessionGetshowSessionssublist2charswresetswset

Dependencies:

A Brief Overview of REDUCE Highlighting Differences to R
Introduction | Terminology | Summary of Important Differences | Language Elements | Statements | Commands | Declarations | Options | Operators and Substitution | Procedures

Last update: 2026-11-03
Started: 2026-11-03

REDUCE functions provided by redcas
Introduction | Extracting the REDUCE code | Output procedures | Utility procedures | Symbolic procedures

Last update: 2026-11-03
Started: 2026-11-03

Switch Summary by Context
Switch summary by context: general switches | Switch summary by context: package-specific switches | Rebuilding this document

Last update: 2026-11-03
Started: 2026-11-03

Using redcas
Configuring, starting and stopping REDUCE | Controlling output | Interacting with REDUCE | Conversion functions | Appendices

Last update: 2026-11-03
Started: 2026-11-03

Readme and manuals

Help Manual

Help pageTopics
An Interface to the Computer Algebra System 'REDUCE'redcas-package redcas
factorize numbers or polynomialsfactorize
function to solve ordinary differential equations using the REDUCE _odesolve_ operatorodesolve
redcas methods for function 'print'print,redcas.ode-method print,redcas.solve-method print-method
functions to convert an arbitrary R list or character vector to LaTeX.ltx.append.eol R2latex
Converting REDUCE arrays to Rred2Rarray
create R functions from REDUCE expressionsred2Rfn
Extracting REDUCE lists and functions from 'redExec' outputdlmMatch fnMatch red2Rlist redlsExtract sublist2char
Class '"redcas.ode"'redcas.ode redcas.ode-class
Class '"redcas.solve"'redcas.solve redcas.solve-class
function to close a REDUCE session and optionally save the log fileredClose
Retrieve the directory containing the REDUCE code which is part of 'redcas'.redCodeDir
Differentiate expressions by one or more variables specifying the degree for each variable.redDf
Removes certain elements from the REDUCE output.redDropOut
execute REDUCE commands from RredExec
Insert the content of a file into a vectorredExpand
execute any REDUCE prefix operator or procedure directly from RredFunc
Create a vector of REDUCE commands by reading data inline.redin
Convert REDUCE output to LaTeXasltx redLatex
function to solve a system of equations using the REDUCE _solve_ operatorredSolve
convert the vector returned by redExec into commands and command output.redSplitOut
function to start a REDUCE sessionredStart
retrieve a specific attribute of a REDUCE session.sessionGet
function to list details for currently active REDUCE sessions.showSessions
Set and restore REDUCE switchesswreset swset