Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

write.SysConfig

Write an Amiga system-configuration file


Description

Write a SysConfig class object to an Amiga binary system-configuration file.

Usage

write.SysConfig(x, file, disk = NULL)

Arguments

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 file should be written. This should be an amigaDisk object. Using this argument requires the adfExplorer package. When set to NULL, this argument is ignored.

Details

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.

Value

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.

Author(s)

Pepijn de Vries

See Also

Other SysConfig.operations: SysConfig, rawToSysConfig, read.SysConfig, simpleSysConfig

Examples

## 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)

AmigaFFH

Commodore Amiga File Format Handler

v0.3.1
GPL-3
Authors
Pepijn de Vries [aut, cre, dtc]
Initial release
2019-03-31

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.