Skip to contents

Checks a file is a rdata file by inspecting the file for so called magic bytes

Usage

is_rdata(filename)

Arguments

filename

The filename of the file to test if it is an rdata file

Value

boolean, TRUE if the file is an rdata file