hexView (version 0.3-4)

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

Value

Either a data frame or a list of variables.

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.

References

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

Examples

Run this code
# NOT RUN {
readEViews(hexViewFile("data4-1.wf1"))
# }

Run the code above in your browser using DataLab