Description Usage Arguments Value
Short hand of creating a function
doing qsub
with watch = TRUE
.
The created function has a dammy argument which has no effect.
1 2 3 4 5 6 | qsub_function(..., 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 = "", jobwatch_args = list())
|
... |
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. |
jobwatch_args |
A list. Elements are passed to |
A function which has a dammy argument
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.