init.path: Define an path for files, usable by my.path()

View source: R/path.R

init.pathR Documentation

Define an path for files, usable by my.path()

Description

init.path() and my.path() are dedicated to manage path to files used by scripts to make them independant from the actual physical location of the files, which depends on where (on which machine, account) the script is running.

Usage

init.path(p, full.path = F)

Arguments

p

chr path

full.path

logical if TRUE p is considered as an absolute path, replace all the current path

Details

by default, the path is added to the global output path ('base.out.path' option, see share.option ), unless the parameter full.path is TRUE

See Also

Other path-functions: add_path_prefix(), create_path(), get_current_paths(), my.path(), platform_path(), print.paths_definition(), share.cache.path(), share.data.path(), share.lib.path(), share_path()


cturbelin/ifnBase documentation built on Nov. 5, 2023, 12:54 p.m.