Skip to main content
The Domino R package gives you access to the full power of Domino’s cloud compute and version control without leaving your R environment.
This information may be outdated. For additional functionality, consider writing your own R wrapper around the platform API.

Install

The package is hosted on CRAN, like any standard R package. Install the Domino command line client. You won’t use it directly, but it does have to be installed on your computer. From R, run the following:
After it’s installed you can import the package as you would any other R package:

Log in

You must login again from R to verify your identity to Domino. To do that type:
You should get a success message. If you’re running in a private deployment, your host is the address of your internal Domino server.

Get a Project

If you already have a copy of your project on your computer, skip this step. Set your working directory to the root of that project folder and continue to the next section.
To download an existing project, run this command:
You should see something like this:
This command also changes your working directory to the root of the project folder. In general, these Domino commands only work if your working directory is set to be inside your project folder.

Run code

To start the execution of a script on Domino, type:
You should see something like this:
You can also pass in arguments into the scripts:
You can read in those parameters in your script:
You can launch several jobs:
This queues 9 jobs, each with a unique setting of the values alpha and beta.

Download results

After your runs have completed, you get download the results back to your computer by running:
This downloads all the new and modified files in your project to your local computer. Once this command completes, these files are available immediately to be loaded into your R workspace:

Two-way sync

You can perform a two-way sync with the command:
This runs a download followed by an upload. If there is a conflict between the local and server versions of a file, you get both versions so that you can fix the conflict and then re-sync.

Initialize a Project

To initialize a new project inside an existing directory, go to the directory and then run:
This creates a Domino project named projectName, with its root at the current working directory. You can then sync this project to the server:

Other commands

You can also run other commands from the CLI with methods named according to their CLI counterparts. For additional details, see the documentation hosted on CRAN.
Last modified on July 16, 2026