Learn R Programming

retistruct (version 0.6.3)

retistruct.cli: Process a dataset with a time limit

Description

This calls retistruct.cli.process with a time limit specified by cpu.time.limit.

Usage

retistruct.cli(
  dataset,
  cpu.time.limit = Inf,
  outputdir = NA,
  device = "pdf",
  ...
)

Arguments

dataset

Path to dataset to process

cpu.time.limit

Time limit in seconds

outputdir

Directory in which to save any figures

device

String representing device to print figures to

...

Other arguments to pass to retistruct.cli.process

Value

A list comprising

status

0 for success, 1 for reaching cpu.time.limit and 2 for an unknown error

time

The time take in seconds

mess

Any error message