locate_stream: Set or change the directory for file_stream objects
Description
Add or update the directory location for items in a file_stream object.
If a directory path already exists, it is removed first.
Usage
locate_stream(x, where, initialize = FALSE)
Arguments
x
A file_stream object.
where
The new location.
initialize
If TRUE, then the where directory is passed to a call
to reset_locker().
Details
When initialize is set to TRUE, the locker space is initialized or
reset. In order to initialize, where must not exist or it must have been
previously set up as locker space. See setup_locker() for details.