Learn R Programming

rscala (version 3.2.25)

scalaLast: Retrieve the Last Scala Computation

Description

This function retrieves the last result from the supplied Scala bridge.

Usage

scalaLast(bridge = scalaFindBridge())

Arguments

bridge

A Scala bridge

See Also

scalaFindBridge

Examples

Run this code
# \donttest{
s <- scala()
s * "2+3"
scalaLast(s)
close(s)
# }

Run the code above in your browser using DataLab