Learn R Programming

rtape (version 2.2)

guessFileFormat: 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.

Value

fileFormat* arguments of other rtape's functions.

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.