Learn R Programming

rscala (version 3.2.3)

scalaPackage: Embed a Scala Bridge in a Package

Description

This function is deprecated.

Usage

scalaPackage(packages, assign.callback, mode = "")

Arguments

packages

A character vector of package names whose JARs should be included in the classpath.

assign.callback

A function.

mode

A string. If the package is to have its own bridge, this should be "". If the package is to use the bridge of another package (e.g., package "foo"), then this should be the fully qualified variable of that package (e.g., "foo:::s").

Value

Returns NULL, invisibly.

Details

This function should be called in the .onLoad function of a depending package.

The function makes an rscala bridge available to the functions of the package. Package developers should call this function in the package's .onLoad function. The scalaPackageUnload function should be called in the package's .onUnload function.

This function is deprecated.