Learn R Programming

drake (version 4.2.0)

shell_file: Function shell_file

Description

Write an example shell.sh file required by make(..., parallelism = 'Makefile', prepend = 'SHELL=./shell.sh') and do a `chmod +x` to enable execution. Use this option to run your project in parallel on a computing cluster or supercomputer.

Usage

shell_file(path = file.path(getwd(), "shell.sh"), overwrite = FALSE)

Arguments

path

file path of the shell file

overwrite

logical, whether to overwrite a possible destination file with the same name

See Also

make, max_useful_jobs, parallelism_choices