View source: R/condor_download.R
condor_download | R Documentation |
Download results from a Condor job.
condor_download(run.dir = NULL, local.dir = ".", top.dir = "condor",
create.dir = FALSE, pattern = "End.tar.gz|condor.*(err|log|out)$",
overwrite = FALSE, untar.end = TRUE, session = NULL)
run.dir |
name of a Condor run directory inside |
local.dir |
local directory to download to. |
top.dir |
top directory on submitter machine that contains Condor run directories. |
create.dir |
whether to create |
pattern |
regular expression identifying which result files to download.
Passing |
overwrite |
whether to overwrite local files if they already exist. |
untar.end |
whether to extract |
session |
optional object of class |
The default value of run.dir = NULL
looks for Condor job results in
top.dir/
local.dir. For example, if
local.dir = "c:/yft/run01"
then the default run.dir
becomes
"condor/run01"
.
The default value of pattern="End.tar.gz|condor.*(err|log|out)$"
downloads End.tar.gz
and Condor log files. For many analyses, it can
be convenient to pack all results into End.tar.gz to make it easy to find,
download, and manage output files.
The default value of session = NULL
looks for a session
object
in the user workspace. This allows the user to run Condor functions without
explicitly specifying the session
.
No return value, called for side effects.
Arni Magnusson.
condor_submit
, condor_q
,
condor_dir
, and condor_download
provide the main Condor
interface.
condor_rm
stops Condor jobs and condor_rmdir
removes directories on the submitter machine.
condor-package
gives an overview of the package.
## Not run:
# General workflow
session <- ssh_connect("servername")
condor_submit()
condor_q()
condor_dir()
condor_download() # after job has finished
# Alternatively, download specific run to specific folder
condor_download("01_this_model", "c:/myruns/01_this_model")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.