list.adf.files | R Documentation |
Get a list of files in a specific directory on a virtual
amigaDisk
.
## S4 method for signature 'amigaDisk,missing'
list.adf.files(x, path)
## S4 method for signature 'amigaDisk,character'
list.adf.files(x, path)
x |
An |
path |
Specify the path on the |
As an analogue of [base::list.files]
, this method
list files in a specific directory. But in this case the files
are located on a virtual floppy disk represented by the
amigaDisk
object. This works only for DOS-formatted
(is.amigaDOS
) virtual disks.
Returns a vector
of character
s listing
the files in the specified directory on the virtual disk.
Pepijn de Vries
data(adf.example)
## show all files in the root of the example
## disk file:
list.adf.files(adf.example)
## you can also list the files in a specified
## directory:
list.adf.files(adf.example, "DF0:mods")
## For the same path, only now specified
## relatively to the current directory:
list.adf.files(adf.example, "mods")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.