working on multiple workfile

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

eviewsnew
Posts: 22
Joined: Fri Apr 22, 2011 2:58 pm

working on multiple workfile

Postby eviewsnew » Thu Jun 09, 2011 3:53 pm

I understand that you said the length of series for a workfile should be same. So here is the issue with working with different workfile.

1. If I have two or more different excel files which I'll import into Eviews, can they be in the same workfile? or can never even if the length and structure is the same?

I tried importing manually and do get two twin .csv files into one workfile. But if I use wfopen/read, they always are opened in different workfile.

2. If I have different work file open, how can I write code to refer to data from different workfile?

and the matrix and vector can have different length than series, right?

thanks for the clarification!

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13603
Joined: Tue Sep 16, 2008 5:38 pm

Re: working on multiple workfile

Postby EViews Gareth » Thu Jun 09, 2011 4:10 pm

You can use the IMPORT command to bring a csv file into an existing workfile page.

If you have two workfiles open, you can use the copy command to copy from one to another.

Matrices and vectors can be different sizes, yes.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest