adf.disk.name | R Documentation |
Get or set the disk name of an amigaDisk
object.
## S4 method for signature 'amigaDisk'
adf.disk.name(x)
## S4 replacement method for signature 'amigaDisk,character'
adf.disk.name(x) <- value
x |
An |
value |
A |
DOS-formatted disks (is.amigaDOS
) store their disk
name on the socalled root block of the disk. This method allows
you to obtain the disk's name or change it (when it is DOS-formatted).
Returns A character
representation of the disk's
name.
Pepijn de Vries
## Not run:
data(adf.example)
## get the disk name:
adf.disk.name(adf.example)
## change it if you don't like it:
adf.disk.name(adf.example) <- "MyDisk"
## confirm that it has changed:
adf.disk.name(adf.example)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.