read_gcae_options_file: Read a 'gcae_options' from file

View source: R/read_gcae_options_file.R

read_gcae_options_fileR Documentation

Read a gcae_options from file

Description

Read a gcae_options from file

Usage

read_gcae_options_file(gcae_options_filename)

Arguments

gcae_options_filename

name of a file to save/load a gcae_options to/from

Value

the gcae_options as can be checked by check_gcae_options

Author(s)

Richèl J.C. Bilderbeek

See Also

use save_gcae_options to save a gcae_options

Examples

# Create a gcae_options
gcae_options <- create_gcae_options()

# Use a temporary file
gcae_options_filename <- get_gcaer_tempfilename(fileext = ".csv")

# Save gcae_options to temporary file
save_gcae_options(
  gcae_options = gcae_options,
  gcae_options_filename = gcae_options_filename
)

# Load the temporary file to get a copy of the gcae_options
gcae_options_again <- read_gcae_options_file(gcae_options_filename)

# Cleanup
file.remove(gcae_options_filename)

richelbilderbeek/gcaer documentation built on March 25, 2024, 3:08 p.m.