rdaHeader: Get the meta-information from an RDA file/connection

rdaHeaderR Documentation

Get the meta-information from an RDA file/connection

Description

This reads the metadata at the start of an RDA stream and returns the format version, etc.

Usage

rdaHeader(con)

Arguments

con

the name of a file or a connection object

Value

A list

format

character string

version

integer value

writer_version

3-element numeric vector giving the major, minor and patch number for which version of R wrote the RDA content.

min_reader_version

3-element numeric vector giving the major, minor and patch number for which version of R wrote the RDA file which can read this RDA content.

native_encoding

character string

Author(s)

Duncan Temple Lang

References

R Internals manual

See Also

load, save toc,

Examples

  f = system.file("sampleRDA", "test.rda", package = "RDAInfo")
  rdaHeader(f)

duncantl/RDAInfo documentation built on Aug. 10, 2024, 3:17 p.m.