mallet_utils: Functions to manage mallet installation

mallet_installR Documentation

Functions to manage mallet installation

Description

Functions to manage mallet installation

Usage

mallet_install(
  url =
    "https://github.com/mimno/Mallet/releases/download/v202108/Mallet-202108-bin.tar.gz",
  verbose = TRUE
)

mallet_get_version()

mallet_is_installed()

Arguments

url

url of mallet

verbose

A 'logical' value, whether to output progress messages.

Details

'mallet_install()' will download the mallet Java package and put it into the java directory of the biglda R package.

'mallet_get_version()' will return a 'numeric_version' object of mallet is installed, or 'NULL' if mallet is not available.

'mallet_is_installed()' utility will return a 'logical' value whether mallet is installed or not.

Examples

if (isFALSE(mallet_is_installed())) mallet_install()
mallet_get_version()


PolMine/biglda documentation built on Feb. 25, 2023, 11:24 p.m.