Learn R Programming

Ryacas0 (version 0.4.4)

Ryacas0-package: R interface to yacas computer algebra package

Description

Ryacas0 allows one to use the yacas computer algebra package entirely from within R. It takes an R expression, an R one line function or a yacas string and returns an R expression or a variety of other formats. It can be used for symbolic mathematics, exact arithmetic, ASCII pretty printing and R to TeX conversions. The main command is yacas and ?yacas provides some information on installation and startup.

Arguments

Details

The following are sources of information on "Ryacas0":

DESCRIPTION filelibrary(help = Ryacas0)
List of demo filesdemo(package = "Ryacas0")
Demo filedemo("Ryacas0")
Demodemo("Ryacas0-PrettyPrinter")
Demodemo("Ryacas0-Function")
Demodemo("Ryacas0-Sym")
Demodemo("Ryacas0-Expr")
List Vignettesvignette(package = "Ryacas0")
Vignettevignette("Ryacas0")
This Filepackage?Ryacas0
Help files?yacas, ?yacasTranslations, ?yacmode, ?Sym
Help files - Windows?yacasInstall
NewsRShowDoc("NEWS", package = "Ryacas0")
AcknowledgementsRShowDoc("THANKS", package = "Ryacas0")
Wish ListRShowDoc("WISHLIST", package = "Ryacas0")
Home pagehttps://github.com/r-cas/ryacas0/

Examples

Run this code

print(yacas(expression(integrate(1/x, x))))
print(yacas("Integrate(x)1/x"))
x <- Sym("x"); Integrate(1/x, x)
acos(Sym("1/2"))

Run the code above in your browser using DataLab