Learn R Programming

SpaDES.core (version 2.0.5)

simFile: Generate simulation file name

Description

Assists with saving and retrieving simulations (e.g., with saveSimList and loadSimList).

Usage

simFile(name, path, time = NULL, ext = "rds")

Value

character string giving a file path for a simulation file

Arguments

name

Object name (e.g., "mySimOut")

path

Directory location in where the file will be located (e.g., an outputPath).

time

Optional simulation time to use as filename suffix. Default NULL.

ext

The file extension to use (default "rds").