readEViews {hexView}R Documentation

Read an Eviews File

Description

This function reads a file in Eviews format (Eviews is an econometrics package).

Usage

readEViews(filename, time.stamp=TRUE, as.data.frame = TRUE)

Arguments

filename

The name of the file.

time.stamp

A logical indicating whether to include a Date column in the result.

as.data.frame

If TRUE the result is a data frame; otherwise a list of variables is returned.

Details

This function is just a demonstration of how the functions in this package can be used to read a complex binary format. It has been tested on a few sample files (and works), but there is no guarantee it will work for all Eviews files (this is not helped by the fact that it is based on reverse-engineering information about the Eviews format, NOT an official description of the format.

Value

Either a data frame or a list of variables.

Author(s)

Paul Murrell

References

http://www.eviews.com/ and http://www.ecn.wfu.edu/~cottrell/eviews_format/

Examples

readEViews(hexViewFile("data4-1.wf1"))

[Package hexView version 0.3-4 Index]