system_new {ubiquity}R Documentation

Create New system.txt File

Description

Copy a blank template (system_file="template") file to the working directory or an example by specifying the following:

Usage

system_new(
  file_name = "system.txt",
  system_file = "template",
  overwrite = FALSE,
  output_directory = getwd()
)

Arguments

file_name

name of the new file to create

system_file

name of the system file to copy

overwrite

if TRUE the new system file will overwrite any existing files present

output_directory

getwd() directory where system file will be placed

Details

References

Value

TRUE if the new file was created and FALSE otherwise

Examples


# To create an example system file named example_system.txt:
system_new(system_file      = "mab_pk", 
           file_name        = "system_example.txt", 
           overwrite        = TRUE,  
           output_directory = tempdir())


[Package ubiquity version 2.0.3 Index]