Description Usage Arguments Value Author(s)
View source: R/ssh_functions.R
Run a function on cluster
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | run_on_cluster(
github_name = NA,
package_name,
function_name,
fun_arguments,
run_name = "default",
projects_folder_name = jap::default_projects_folder(),
cluster_folder = jap::default_cluster_folder(),
cluster_partition = "gelifes",
home_dir = jap::default_home_dir(),
account = jap::your_account(),
my_email = jap::default_my_email(),
drive = jap::default_drive_choice(),
jap_branch = "master",
session = NA
)
|
github_name |
the github account name where the repo is |
package_name |
the name of the package |
function_name |
the name of the function |
fun_arguments |
the arguments of the function passed either as list or as string (in the format 'arg1 = x, arg2 = y') |
projects_folder_name |
the name you want to give to the folder containing all your projects |
cluster_folder |
main folder on the cluster. It can be either 'home' or 'data' |
cluster_partition |
A string, with name of partition in which to run
the main job. Defaults to |
home_dir |
path to the home directory. On windows usually is a disk like C or D. On mac is always ~. |
account |
a peregrine account |
drive |
do you want to use google drive to store the data of your prokects? It can be either TRUE or FALSE |
session |
a ssh session |
nothing
Giovanni Laudanno
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.