Description Usage Arguments Value See Also Examples
Create a qsub configuration object.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | create_qsub_config(
  remote,
  local_tmp_path,
  remote_tmp_path,
  name = "r2qsub",
  num_cores = 1,
  memory = "4G",
  max_running_tasks = NULL,
  max_wall_time = "01:00:00",
  batch_tasks = 1,
  compress = c("gz", "bz2", "xz", "none"),
  modules = "R",
  execute_before = NULL,
  verbose = FALSE,
  wait = TRUE,
  remove_tmp_folder = TRUE,
  stop_on_error = TRUE
)
override_qsub_config(
  qsub_config = get_default_qsub_config(),
  remote = qsub_config$remote,
  local_tmp_path = qsub_config$local_tmp_path,
  remote_tmp_path = qsub_config$remote_tmp_path,
  name = qsub_config$name,
  num_cores = qsub_config$num_cores,
  memory = qsub_config$memory,
  max_running_tasks = qsub_config$max_running_tasks,
  max_wall_time = qsub_config$max_wall_time,
  batch_tasks = qsub_config$batch_tasks,
  compress = qsub_config$compress,
  modules = qsub_config$modules,
  execute_before = qsub_config$execute_before,
  verbose = qsub_config$verbose,
  wait = qsub_config$wait,
  remove_tmp_folder = qsub_config$remove_tmp_folder,
  stop_on_error = qsub_config$stop_on_error
)
 | 
| remote | Remote machine specification for ssh, in format such as  | 
| local_tmp_path | A directory on the local machine in which to store temporary files. Should not contain a tilde ('~'). | 
| remote_tmp_path | A directory on the remote machine in which to store temporary files. Should not contain a tilde ('~'). | 
| name | The name of the execution. This will show up, for instance, in  | 
| num_cores | The number of cores to allocate per element in  | 
| memory | The memory to allocate per core (default:  | 
| max_running_tasks | limit concurrent array job task execution (default:  | 
| max_wall_time | The maximum time each task is allowed to run (default:  | 
| batch_tasks | How many values in  | 
| compress | Compression method to use:  | 
| modules | Which modules to load (default:  | 
| execute_before | Commands to execute in the bash shell before running R. | 
| verbose | Whether or not to print out any ssh commands. | 
| wait | If  | 
| remove_tmp_folder | If  | 
| stop_on_error | If  | 
| qsub_config | A qsub_config to be overridden | 
A qsub configuration object.
qsub_lapply, set_default_qsub_config
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ## Not run: 
qsub_config <- create_qsub_config(
  remote = "myuser@myserver.mylocation.com:22",
  local_tmp_path = "/home/myuser/workspace/.r2gridengine",
  remote_tmp_path = "/scratch/myuser/.r2gridengine"
)
qsub_lapply(1:10, function(x) x + 1, qsub_config = qsub_config)
set_default_qsub_config(qsub_config, permanent = TRUE)
qsub_lapply(1:10, function(x) x + 1)
qsub_lapply(
  X = 1:10,
  FUN = function(x) x + 1,
  qsub_config = override_qsub_config(verbose = TRUE)
)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.