pointToStoXFiles: Link to the files in a stox project

Description Usage Arguments Value

Description

Updates a project with the files located in the "input" directory. Used in updateProject().

Usage

1
2
pointToStoXFiles(projectName, files = NULL, relative.path = TRUE,
  close = FALSE)

Arguments

projectName

The name or full path of the project, a baseline object (as returned from getBaseline or runBaseline, og a project object (as returned from openProject).

files

A list with elements named "acoustic", "biotic", "landing", "process" (holding the project.xml file) or other implemented types of data to be copied to the project (available data types are stored in StoX_data_sources in the environment "RstoxEnv". Get these by get("StoX_data_sources", envir=get("RstoxEnv"))). These could be given as directories, in which case all files in those directories are copied, or as URLs. If given as a single path to a directory holding sub-directories with names "acoustic", "biotic", "landing", "process" or other implemented types of data, the files are copied from these directories. If files has length 0 (default), the files present in the project directory are used, if already existing (requires to answer "y" when asked to overwrite the project if ow=NULL, or alternatively to set ow=TRUE).

close

Logical: If TRUE, close the project after updating file paths (used in updateProject).

Value

A project object


Sea2Data/Rstox documentation built on May 14, 2019, 8:58 a.m.