Learn R Programming

rbacon (version 2.5.3)

Bacon.cleanup: Remove files made to produce the current core's age-depth model.

Description

Remove files ending in .bacon, .plum (if it exists), .out, .pdf, _ages.txt, and _settings.txt of current core.

Usage

Bacon.cleanup(set = get("info"))

Arguments

set

Detailed information of the current run, stored within this session's memory as variable info.

Value

A message stating that the files and settings of this run have been deleted.

Details

If cores behave badly, you can try cleaning up previous runs and settings, by removing files *.bacon, *.plum, *.out, *.pdf, *_ages.txt, and *_settings.txt of current core.

Examples

Run this code
# NOT RUN {
  Bacon(run=FALSE, coredir=tempfile())
  Bacon.cleanup()
# }

Run the code above in your browser using DataLab