simFile {SpaDES.core}R Documentation

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")

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").

Value

character string giving a file path for a simulation file


[Package SpaDES.core version 2.0.5 Index]