Description Usage Arguments Details Value Author(s) See Also Examples
Attach a tracking database to the search path at a position other than
1. Variables in the tracking database are made available through a
new environment attached at pos
on the search path.
1 2 3 4 5 |
dir |
The directory where the tracking database resides. |
pos |
The position on the search path to attach the new environment at, or where it is currently attached. |
name |
The name to use on the search path for the new environment. |
create |
Should the tracking database be created if it does not exist? |
readonly |
Logical flag indicating whether the tracking db should be attached in
a readonly mode. The global environment ( |
lockEnv |
Should the environment be locked for a readonly
tracking environment? The default is |
verbose |
print a message about what directory is being tracked? |
detach |
If |
auto |
Should auto-tracking be used? (see |
dup.ok |
Is it OK to proceed if the tracking database is already attached on
the search path? If |
... |
additional arguments passed to track.start() |
track.attach
attaches a new environment to the search path at the specified
position and variables in the tracking database are made available in
it through lazy loading. Using readonly==TRUE
ensure that no
changes at all are made to the tracking database, and the environment
is locked to ensure that variables cannot be created or deleted.
track.detach
syncs all variables to files and detaches the
environment from the search list if it is empty. See
track.stop
for conditions under which the
environment may not be detached.
NULL
Tony Plate tplate@acm.org
1 2 3 4 5 | ## Not run:
track.attach("path/to/tracking-database", pos=2, name="trackdb")
track.detach(pos=2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.