virtual_path {adfExplorer} | R Documentation |
A path pointing to a file or directory on a virtual ADF device
Description
This function creates a path pointing to a file or directory
on a virtual ADF device (created with connect_adf()
or create_adf_device()
).
The virtual path created with this function can be used to establish a readable
or writable connection to a file, or obtain information about a file or directory.
See also vignette("virtual_paths")
Usage
virtual_path(dev, path)
Arguments
dev |
A virtual ADF device (created with |
path |
A |
Value
Returns a virtual_path
class object.
Author(s)
Pepijn de Vries
Examples
adz_file <- system.file("example.adz", package = "adfExplorer")
# Open a connection to a virtual device:
my_device <- connect_adf(adz_file)
# specify a virtual path:
my_path <- virtual_path(my_device, "DF0:s/startup-sequence")
# close the virtual device:
close(my_device)
[Package adfExplorer version 2.0.0 Index]