Sorry for this silly question. I have been away from EViews for a while and am now porting some V9 programs over to V10. My programs all work except for my WFSAVE commands. I have:
!annual1=2000
!annual2=2018
wfcreate random_walk_{!year}.{%m} u !annual1 !annual2
code here for forecasting
wfsave(2) R:\Traffic Forecasting\EViews\Workfiles\Stochastic\random_walk_{!year}.{%m}.wf1
This wfsave will not put my work file, which is random_walk_{!year}.{%m} in the right folder, which is R:\Traffic Forecasting\EViews\Workfiles\Stochastic . It is creating a Traffic.wf1 file in R:\
Thanks...
WFSAVE Question
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
Re: WFSAVE Question
It would seem that EViews still does not like the spaces in the directory names. Is there a workaround for this?
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13323
- Joined: Tue Sep 16, 2008 5:38 pm
Re: WFSAVE Question
You have to put quotes around paths with spaces.
Follow us on Twitter @IHSEViews
Re: WFSAVE Question
I have tried to no avail....where would they go with the wfsave:
wfsave(2) R:\Traffic Forecasting\EViews\Workfiles\Stochastic\random_walk_{!year}.{%m}.wf1
If I put quotes around the whole thing then _{!year}.{%m} comes out as _{!year}.{%m} and not, say 2017.10
wfsave(2) R:\Traffic Forecasting\EViews\Workfiles\Stochastic\random_walk_{!year}.{%m}.wf1
If I put quotes around the whole thing then _{!year}.{%m} comes out as _{!year}.{%m} and not, say 2017.10
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13323
- Joined: Tue Sep 16, 2008 5:38 pm
Re: WFSAVE Question
Code: Select all
%path = "R:\Traffic Forecasting\EViews\Workfiles\Stochastic\random_walk_" + @str(!year) + "." + %m + ".wf1"
wfsave(2) %path
Follow us on Twitter @IHSEViews
Who is online
Users browsing this forum: No registered users and 48 guests