Learn R Programming

Ryacas (version 0.2-11)

yacas: yacas interface

Description

Interface to the yacas computer algebra system.

Usage

## S3 method for class 'character':
yacas(x, verbose = FALSE, method, 
retclass = c("expression", "character", "unquote"), addSemi = TRUE, ...)
## S3 method for class 'expression':
yacas(x, ...)
## S3 method for class 'function':
yacas(x, ...)
## S3 method for class 'formula':
yacas(x, ...)
## S3 method for class 'yacas':
yacas(x, ...)

Arguments

Value

An R object of class "yacas" is returned. If PrettyPrinter("OMForm") is in effect, which it is by default, then the first component is an R expression and the OMForm component contains OpenMath XML code. In other cases the first component is NULL and the YacasForm or PrettyForm components have display information.

Details

The user supplies an R expression, an R function name corresponding to a function with a single line body, a formula or a yacas input string. In the case of a formula it is regarded as an expression represented by the right hand side of the formula while the left hand side, if any, is ignored.

References

http://yacas.sourceforge.net