Learn R Programming

⚠️There's a newer version (1.1.5) of this package.Take me there.

Ryacas

Ryacas is an R interface to the free yacas Computer Algebra System. Ryacas allows one to send R expressions, unprocessed yacas strings and certain other R objects to yacas process from R and get back the result. It also has facilities for manipulating yacas strings and R expressions destined for yacas processing.

It can be used for exact arithmetic, symbolic math, ASCII pretty printing and translating R to TeX.

Install from github

To build and install from github using R 3.3.0 (or later) and the R devtools package 1.11.0 (or later) run this command from within R:

remotes::install_github("mikldk/ryacas")

Online info

For vignettes, overview, pointers to additional information, installation instructions and a sample session see http://mikldk.github.io/ryacas/. The old site was http://code.google.com/p/ryacas/.

Yacas documentation can be found at http://yacas.readthedocs.org/

More

Once Ryacas is installed, pointers to additional information can be found with these R commands:

library(Ryacas)
package?Ryacas

Yacas

The package contains stripped-down yacas distribution. For the complete yacas source code see https://github.com/grzegorzmazur/yacas/ . For more information on yacas see http://www.yacas.org/.


Rob Goedman, goedman at mac dot com
Gabor Grothendieck, ggrothendieck at gmail dot com
Søren Højsgaard, sorenh at math dot aau dot dk
Ayal Pinkus, apinkus at xs4all dot nl
Grzegorz Mazur, teoretyk at gmail dot com
Mikkel Meyer Andersen, mikl at math dot aau dot dk

Copy Link

Version

Install

install.packages('Ryacas')

Monthly Downloads

2,988

Version

0.4.1

License

GPL-2

Maintainer

Mikkel Andersen

Last Published

February 8th, 2019

Functions in Ryacas (0.4.1)

as.Sym.matrix

Convert character matrix to yacas object
yacas_evaluate

Evaluate yacas expression
yacasTranslations

Yacas translations
yacas

yacas interface
yacmode

yacmode interface
as.Sym.character

Convert character vector to yacas object
Eval

Evaluate a yacas expression.
Ryacas-package

R interface to yacas computer algebra package
get_output_width

Get width of yacas output
bodyAsExpression

Get body of function as an expression.
Ryacas_options

Set or get options for the Ryacas package
Sym

Sym
set_output_width

Set width of yacas output
syacas

yacas interface -- silent version