Learn R Programming

rscala (version 1.0.15)

rscala-package: Bi-directional interface between R and Scala with callbacks.

Description

This package embeds: i. the R interpreter in Scala, and ii. the Scala compiler/interpreter in R (with callbacks to R).

Arguments

See Also

scala, scalaEval, scalaSet, scalaGet, scalaDef, scalaSettings, strintrplt

Examples

Run this code
## Not run: 
# s <- scala()
# s 
# s$a <- pi
# cat("The value of pi is ",s$a,"\n",sep="")
# ## End(Not run)

Run the code above in your browser using DataLab