yac_cli: yacas command line interface

View source: R/yac-cli.R

yac_cliR Documentation

yacas command line interface

Description

Interactive interface to the yacas

Usage

yac_cli(enable_history = TRUE)

Arguments

enable_history

Use R history such that previous yacas commands can be used. Default is TRUE.

Details

The user types valid yacas input and presses return. Type 'quit' to return to R prompt.

Value

Output of yacas is returned.

Note

Note that command will use R history() and modify it by default. Yacas is given a limited amount of time to complete, otherwise \[1\] CommandLine(1) : User interrupted calculation is returned. E.g. Taylor(x,0,5) 1/(1+x) will work, but Taylor(x,0,12) 1/(1+x) is likely to take too long.

References

https://yacas.sourceforge.io/

Examples


## Not run: 
yac_cli()
 (x+y)^3-(x-y)^3
 Simplify(%)
 q

## End(Not run)


Ryacas documentation built on Jan. 17, 2023, 1:11 a.m.