Description Usage Arguments Details Value Author(s) See Also Examples
Write an amigaDisk
object to an Amiga Disk File (ADF) or
alternatively to an ADZ file.
1 2 3 4 5 6 7 8 |
x |
An |
file |
either a file name to write to, or a file connection, that
allows to write binary data (see |
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.
Writes to an ADF file but returns nothing.
Pepijn de Vries
Other io.operations:
read.adf()
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## Not run:
## 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")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.