Write an amigaDisk
object to an Amiga Disk File (ADF) or
alternatively to an ADZ file.
Usage
# S4 method for amigaDisk,ANY
write.adf(x, file)
# S4 method for amigaDisk,character
write.adf(x, file)
# S4 method for amigaDisk,character
write.adz(x, file)
Details
Use this function to write amigaDisk
objects as binary
data to so-called Amiga Disk Files (ADF). These files can be used as
input for Amiga emulator software.
Alternatively, the object can be saved with 'write.adz', which is essentially a gzipped version of an ADF file.
See also
Other io.operations:
read.adf()
Examples
if (FALSE) {
## Let's write the example data to an ADF file:
data(adf.example)
## Let's put it in the current working directory:
write.adf(adf.example, "test.adf")
## You can also use file connections to do the same:
con <- file("test2.adf", "wb")
write.adf(adf.example, con)
close(con)
## Last but not least the same object can be saved
## as an adz file:
write.adz(adf.example, "test.3.adz")
}