Read an Eviews File

Description

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

Usage

1

Arguments

filename

The name of the file.

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

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