write_and_qsub: write and _qsub_

Description Usage Arguments Value

View source: R/qsub_deplicated_functions.R

Description

Deplicated. We recommend to use qsub. shorthand of save_and_qsub(make_qsubfile())

Usage

1
2
3
4
5
6
write_and_qsub(..., script_path, script_dir = NA_character_,
  name = NA_character_, first_line = binbash(),
  parallel = parallel_option(), arrayjob = arrayjob_option(),
  directory = directory_option(), use_bash_profile = TRUE,
  other_req = character(0), recursive = FALSE, add_time = TRUE,
  qsub_args = "")

Arguments

...

Your codes (default: bash codes). Each argument should be a character vector. Multiple arguments and multiple elements will be separated with a line break.

script_path

A character. The path to write a file.

script_dir

A character. It will concatenated with file_path..

name

A character

first_line

A character. It is written in the first line.

parallel

A character

arrayjob

A character

directory

A character

use_bash_profile

A logical. Whether source ~/.bash_profile or not.

other_req

A character. Other requirements for qsub

recursive

A logical. Whether make parent directory recursively when it does NOT exist.

add_time

A logical. Whether add the time you execute this function to path for unique naming.

qsub_args

Additional arguments for qsub.

Value

Invisible. A list of Job ID, the path you write your file to, and the time you execute this function.


DrRes/jobwatcher documentation built on Aug. 29, 2019, 5:50 a.m.