View source: R/system_configuration.r
write.SysConfig | R Documentation |
Write a SysConfig class object to an Amiga binary system-configuration file.
write.SysConfig(x, file, disk = NULL)
x |
An S3 SysConfig class object. |
file |
A file name to which the binary file should be written. |
disk |
A virtual Commodore Amiga disk to which the |
Amiga OS 1.x stored system preferences in a binary system-configuration file. This function writes a SysConfig class object as such a binary file. This file can be used on an Amiga or in an emulator.
Returns NULL
or an integer
status passed on by the
close()
function, that is used to close the file connection.
It is returned invisibly. Or, when disk
is specified, a copy of
disk
is returned to which the file is written.
Pepijn de Vries
Other SysConfig.operations:
SysConfig
,
rawToSysConfig()
,
read.SysConfig()
,
simpleSysConfig()
Other io.operations:
read.AmigaBasicBMAP()
,
read.AmigaBasicShape()
,
read.AmigaBasic()
,
read.AmigaBitmapFontSet()
,
read.AmigaBitmapFont()
,
read.AmigaIcon()
,
read.SysConfig()
,
read.iff()
,
write.AmigaBasicShape()
,
write.AmigaBasic()
,
write.AmigaBitmapFont()
,
write.AmigaIcon()
,
write.iff()
## Not run:
## First generate a simple SysConfig object to write to a file:
sc <- simpleSysConfig()
## And write to the tempdir:
write.SysConfig(sc, file.path(tempdir(), "system-configuration"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.