set_default_qsub_config: Set a default qsub_config.

Description Usage Arguments See Also Examples

View source: R/qsub_config.R

Description

If permanent, the qsub_config will be written to the specified path. Otherwise, it will be saved in the current environment.

Usage

1
2
3
4
5
set_default_qsub_config(
  qsub_config,
  permanent = TRUE,
  config_file = config_file_location()
)

Arguments

qsub_config

The qsub_config to use as default.

permanent

Whether or not to make this the default qsub_config.

config_file

The location to which to save the permanent qsub_config.

See Also

qsub_lapply, create_qsub_config

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
qsub_config <- create_qsub_config(
  remote = "myserver",
  local_tmp_path = "/home/myuser/workspace/.r2gridengine",
  remote_tmp_path = "/scratch/myuser/.r2gridengine"
)
set_default_qsub_config(qsub_config, permanent = T)
qsub_lapply(1:10, function(x) x + 1)

## End(Not run)

qsub documentation built on May 12, 2021, 9:07 a.m.