I i am working on data from two different source file (excel), and in my code I refer to two different series from the two different workfile in one euqation. It doesn't allow me to do that. How can I write command to open them and put them in one workfile? i find if I use two wfopen command, they'll be in two different workfile. If I use one wfopen, and another file.read command, I can have them in one workfile. But there is problem with file.read command since it doesn't refer to the data in the server if i write the full path. I have to use drive letter to denote the path.
Hope this is clear for you. I'm puzzled.
thanks!
work on different workfile
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13603
- Joined: Tue Sep 16, 2008 5:38 pm
Re: work on different workfile
You shouldn't use READ, rather you should use IMPORT.
Re: work on different workfile
You shouldn't use READ, rather you should use IMPORT.
Thanks for the quick reply!
I tried import, first of all, it doesn't accept the full path of the server folder, and I still need to use my drive letter:
import(t=txt) "W:\riskindex\RI_V3.1\code\main\All384MSA.csv"
Second, it asks for the start date of this newly imported series, which actually only has a series of numbers without any date associated with it, ie.e, it's not a time series.
For now the .read command works fine, except that it doesn't accept the full path of the data.
Is the path setup something that's controlled by technical support who helped install this for me? or something inherently/automaticly setup in the software itself?
thanks!
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13603
- Joined: Tue Sep 16, 2008 5:38 pm
Re: work on different workfile
Pretty sure I don't understand what you're saying there. Import will accept the full path. Indeed, it works the same way as wfopen does. Secondly, import lets you specify the type of data you're bringing in, so you won't need to specify dates. The Command Reference PDF has all the syntax for import.
Who is online
Users browsing this forum: No registered users and 2 guests
