Share via


RCranLibrary Class

Specifies a CRAN library for use in a DatabricksStep pipeline step.

For an example of working with a DatabricksStep and specifying libraries, see the notebook https://aka.ms/pl-databricks.

Initialize RCranLibrary.

Constructor

RCranLibrary(package=None, repo=None)

Parameters

Name Description
package
str

The name of the CRAN package to install.

Default value: None
repo
str

The repository where the package can be found. If not specified, the default CRAN repo is used.

Default value: None