job.path {StabPerf} | R Documentation |
Abstract function for building the path to a job checkpoint file.
Description
Builds path to job checkpoint file, given base directory. Accepts either a job
object or the indices uniquely identifying the job name.
Usage
job.path(...)
Arguments
job |
Job. An instance of the job class, as returned from job.name |
base |
String. Base directory. Default:edaprakt.tmpdir plus checkpoints |
Details
Job checkpoint file names are suffixed with .RData
automatically.
Value
path |
String. Full path to job checkpoint file |
See Also
job.name
,
Examples
# Use default base directory, path to a selection job checkpoint file
path <- job.path("s",1,2)
# Set base directory, path to a classification job checkpoint file
path <- job.path("c",1,2,3, base="mydir")
# Using a pre-existing job object, with or without default base directory
job <- job.name("s", 1, 2)
path <- job.path(job)
path <- job.path(job, base="elsewhere")
[Package
StabPerf version 0.5
Index]