Learn R Programming

qsub (version 1.1.3)

set_default_qsub_config: Set a default qsub_config.

Description

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

Usage

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

Run this code
# 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)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab