pointToStoXFiles: Link to the files in a stox project

Description Usage Arguments Value

View source: R/rstox_base.r

Description

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

Usage

1
pointToStoXFiles(projectName, files = NULL)

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_types in the environment "RstoxEnv". Get these by get("StoX_data_types", 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).

Value

A project object


Sea2Data/Rstox documentation built on April 18, 2018, 11:11 p.m.