Skip to contents

Read a binary Amiga system-configuration file and return as SysConfig object.

Usage

read.SysConfig(file)

Arguments

file

The file name of a system-configuration file to be read. Can also be a connection that allows reading binary data.

Value

Returns an S3 SysConfig class object based on the file that is read.

Details

Amiga OS 1.x stored system preferences in a binary system-configuration file. This function returns the file in a comprehensive format (a SysConfig object).

Author

Pepijn de Vries

Examples

## Put a simple SysConfig object into the tempdir:
write.SysConfig(simpleSysConfig(), file.path(tempdir(), "system-configuration"))

## Now read the same file:
sc <- read.SysConfig(file.path(tempdir(), "system-configuration"))

## and plot it
plot(sc)