I need to work with a matrix made in eviews, is there any way to load or export in R, eviews workfiles or data base and work with this in R?
2 Answers
A quick google for import eviews into r
lead me to the hexView
package, this supports reading binary EViews files. Alternatively, you could dump the file into an ASCII format, say csv, and read that into R using read.table
.

- 59,984
- 12
- 142
- 149
-
1use the package hexView but does not work, because I can not read the matrix made in eviews. HexView only read eviews vectors – user2358634 Jun 10 '13 at 16:34
EViews has the ability to open up an R session and send data over to R (and execute R commands/scripts too).
Setting EViews up to work with R can be a little tricky, but if you just install the RAndFriends package, it can be done easily enough.
Once setup, you simply need a few EViews commands such as:
xopen(r)
xput myobject
You can then run R commands on that object from within EViews, or issue an R command to save the object as a native R object, then open up R and access it.
Of course, all of that assumes that you have EViews installed. Without EViews installed, you're probably out of luck. Their data format is notoriously difficult to get at.

- 11
- 1