Learn R Programming

rscala (version 1.0.13)

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

scalaInterpreter, intpEval, intpSet, intpGet, intpDef, intpSettings, strintrplt

Examples

Run this code
## Not run: 
# s <- scalaInterpreter()
# 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