Skip to contents

Create a hipercow root. This marks the directory where your task information will be saved, along with a local copy of your R packages (a "library" for the cluster). Immediately after running this the first time, you probably want to run hipercow_configure() in order to control how we set up your projects network paths and R version.

Usage

hipercow_init(root = ".", driver = NULL, ...)

Arguments

root

The path to the root, defaulting the current directory.

driver

Optionally, the name of a driver to configure

...

Arguments passed through to hipercow_configure if driver is non-NULL.

Value

Invisibly, the root object

Examples


# Create an empty root
path <- withr::local_tempfile()
hipercow_init(path)
#>  Initialised hipercow at '/tmp/RtmpUN1Cun/file194c38692890'
#>  Next, call 'hipercow_configure()'