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

View source: R/read_write.R

Bacon.cleanupR Documentation

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.

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.

Value

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

Author(s)

Maarten Blaauw, J. Andres Christen

Examples

  Bacon(run=FALSE, coredir=tempfile())
  Bacon.cleanup()

rbacon documentation built on Sept. 30, 2024, 9:40 a.m.