guessFileFormat {rtape}R Documentation

Automatically pick proper tape file format.

Description

Automatically pick proper tape file format.

Usage

guessFileFormat(fName)

Arguments

fName

Name of the the file to guess format of; if the file is not-existing, the function returns default file format.

Details

This function guesses the tape file format from the file header or assumes default (gzip) if given non-existing file name. Main package functions use this routine to automatically setup file format; if you really need to control it, see makeFileFormat.

Value

The function to be passed to the fileFormat* arguments of other rtape's functions.

Author(s)

Miron B. Kursa M.Kursa@icm.edu.pl


[Package rtape version 2.2 Index]