find_scalac: Discover the Scala Compiler

View source: R/spark_compile.R

find_scalacR Documentation

Discover the Scala Compiler

Description

Find the scalac compiler for a particular version of scala, by scanning some common directories containing scala installations.

Usage

find_scalac(version, locations = NULL)

Arguments

version

The scala version to search for. Versions of the form major.minor will be matched against the scalac installation with version major.minor.patch; if multiple compilers are discovered the most recent one will be used.

locations

Additional locations to scan. By default, the directories /opt/scala and /usr/local/scala will be scanned.


sparklyr documentation built on Nov. 2, 2023, 5:09 p.m.