yacmode {Ryacas0}R Documentation

yacmode interface

Description

Interactive interface to the yacas

Usage

yacmode(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.

invisible NULL

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

http://www.yacas.org/

Examples


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

## End(Not run)


[Package Ryacas0 version 0.4.4 Index]