add_path_prefix | R Documentation |
Each path prefix will be added to ‘base.out.path' separated by ’/' to create a full path for output
add_path_prefix(name, prefix)
name |
name of the prefix |
prefix |
path to add to the prefix |
Prefix mechanism allow to define constant path at several levels. For example : output path for global workspace (base.out.path) output path for a project (that will complete base.out.path) output path in a script of the project
Other path-functions:
create_path()
,
get_current_paths()
,
init.path()
,
my.path()
,
platform_path()
,
print.paths_definition()
,
share.cache.path()
,
share.data.path()
,
share.lib.path()
,
share_path()
# base.out.path = '/my/path/'
add_path_prefix('project', 'my_project') # A project prefix to the path
## Not run:
init.path('output') # Add output to the current path
## End(Not run)
my.path() # => '/my/path/my_project/output'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.