Skip to content

R Console Bindings for the Domino CLI.

License

Notifications You must be signed in to change notification settings

dominodatalab/r-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Domino R package

This package provides bindings to interact with the Domino CLI from R. You must have a recent version of the Domino CLI to use this package. You can find more information on setting up the Domino CLI in this support article.

Installation

The Domino R package can be installed from CRAN directly using the install.packages command:

install.packages("domino")

You can likewise manually obtain a tarball of the package from CRAN and install it directly:

R CMD install domino_X.Y.tar.gz

Usage

library(domino)

# Login with your username and password, specifying whether or not to permit usage reports and the
# hostname of your Domino install. For example:
domino.login("jglodek", "secret_password", FALSE, "https://trial.dominodatalab.com")

# Get the my-magic-project project from your Domino install
domino.get("my-magic-project")

# Trigger a run with some parameters
domino.run("main.r", "--secret-arg")

# Download changes from the domino server.
domino.download()

Full documentation and usage information is available in the manuals for various releases:

Known Bugs

If you're getting these warning messages:

1: Setting LC_TIME failed, using "C"
2: Setting LC_MESSAGES failed, using "C"
3: Setting LC_MONETARY failed, using "C"

check your shell locales with locale set locales with export LC_ALL=en_US.UTF-8 in the shell

License

This library is made available under the MIT License. This is an open-source project of Domino Data Lab.