Learn R Programming

adfExplorer (version 0.1.8)

is.amigaDOS: Check if amigaDisk object is DOS formatted

Description

This method checks if there is a DOS file structure is present on the amigaDisk object.

Usage

# S4 method for amigaDisk
is.amigaDOS(x)

Value

Returns a logical value, indicating whether the disk is DOS formatted. When it is not, the attributes to the returned value will contain information as to why the disk is not DOS compatible.

Arguments

x

An amigaDisk object for which the check should be performed.

Author

Pepijn de Vries

Details

Not all Amiga Disk Files have a DOS file structure on them. This function checks if there is.

Examples

Run this code
data(adf.example)

## let's check if the example amigaDisk object
## is DOS formatted:

is.amigaDOS(adf.example)

## it apparently is

Run the code above in your browser using DataLab