Search found 27 matches

by MartinsFest
Tue Dec 12, 2023 8:48 am
Forum: General Information and Tips and Tricks
Topic: WFRefresh after linking workfile with another workfile
Replies: 1
Views: 5760

WFRefresh after linking workfile with another workfile

Hello, I am exploring the commands wfopen, wfsave, wfclose and wfrefresh, and would love some clarification. I am currently opening a workfile with the link-option, and saving it at another location (hoping it'll remain linked): wfopen(link) .\original\location\myworkfile wfsave some\other\location\...
by MartinsFest
Tue Nov 21, 2023 5:59 am
Forum: Bug Reports
Topic: Bug installing patch update
Replies: 1
Views: 1836

Bug installing patch update

Hello. I am experiencing a bug when installing one of the latest patches. I am offered to update my version, and when I accept it closes the Eviews I have running, and I eventually get the below window. However, I am unable to proceed from here. I have no instance of Eviews running except this insta...
by MartinsFest
Tue Sep 05, 2023 4:47 am
Forum: General Information and Tips and Tricks
Topic: Importing/open .dat-files from SAS
Replies: 1
Views: 27711

Importing/open .dat-files from SAS

Hello, I will be running a server task to automatically access and update population data in our main workfile using an Eviews-program. However, the department that gave us this data has only given us .dat-files made by SAS. The server does not have SAS installed, and I would prefer it to remain tha...
by MartinsFest
Mon Aug 28, 2023 7:44 am
Forum: General Information and Tips and Tricks
Topic: Use of import/copy and keeping descriptions
Replies: 2
Views: 24713

Re: Use of import/copy and keeping descriptions

Just what I was after, thank you!
by MartinsFest
Fri Aug 25, 2023 4:44 am
Forum: General Information and Tips and Tricks
Topic: Use of import/copy and keeping descriptions
Replies: 2
Views: 24713

Use of import/copy and keeping descriptions

Hello, I have an external Excel-file, where names of the series are equivalent to some original series within my workfile. The original series contains values in the range between the years 1980-2200, while the new data contains forecasts for the period 2023-2050. I am updating the values in the ori...
by MartinsFest
Tue Mar 21, 2023 5:47 am
Forum: General Information and Tips and Tricks
Topic: Leading a variable
Replies: 1
Views: 2689

Re: Leading a variable

Never mind. The mistake and solution was glaring in my face. Don't even want to mention it.

Code I am using at the moment. Please do tell if any improvements can be made.

Code: Select all

for %sname {%eviewsname}
   {%sname}.ipolate {%sname}_lin
   {%sname} = {%sname}_lin(-1)
   delete *_lin
next
by MartinsFest
Tue Mar 21, 2023 4:38 am
Forum: General Information and Tips and Tricks
Topic: Transposing data when saving to foreign file
Replies: 1
Views: 2663

Transposing data when saving to foreign file

Hello, When saving a workfile, I would like to have the dates be columns instead of rows, like below: https://i.postimg.cc/cH81LCXZ/image.png It's preferable that this is done within Eviews, as this will be a program running on a server which periodically gives us new datasets. Any tips are received...
by MartinsFest
Tue Mar 21, 2023 4:30 am
Forum: General Information and Tips and Tricks
Topic: Leading a variable
Replies: 1
Views: 2689

Leading a variable

Hello, I want to lead several variables, as well as keeping all their attributes. I also want to keep their original names. The purpose is to align day-ahead prices with the date they are active. The following code does not work, it creates only NA-values: for %sname {%eviewsname} genr {%sname} = {%...
by MartinsFest
Tue Mar 21, 2023 4:01 am
Forum: General Information and Tips and Tricks
Topic: WFsave include description
Replies: 2
Views: 3000

Re: WFsave include description

Thank you very much, Steve.
by MartinsFest
Mon Mar 20, 2023 6:34 am
Forum: General Information and Tips and Tricks
Topic: WFsave include description
Replies: 2
Views: 3000

WFsave include description

Hello,

An easy open and shut case: I am saving a workfile to excel using the wfsave-command, and want to include the series' descriptions. How do I go about doing that?
by MartinsFest
Tue Mar 07, 2023 9:24 am
Forum: General Information and Tips and Tricks
Topic: copy everything except c and resid
Replies: 2
Views: 2909

Re: copy everything except c and resid

There are some options for the command. Try "copy(merge)" for example. There's also an "overwrite"-option and a "protect"-option. For example, try "copy(merge, protect)". This will avoid overwriting any same-named objects in the destination page, and make it s...
by MartinsFest
Tue Mar 07, 2023 8:59 am
Forum: General Information and Tips and Tricks
Topic: calculate @mean with a list in a FOR loop
Replies: 3
Views: 3491

Re: calculate @mean with a list in a FOR loop

Hello mboll, The way Eviews work, I really wouldn't recommend storing values in lists (it is, however, well suited for storing series-names when writing program code, as you already seem to be doing.) Regardless, here's first a couple of comments on your code, then a couple of alternatives on how to...
by MartinsFest
Fri Jan 27, 2023 4:52 am
Forum: General Information and Tips and Tricks
Topic: How do I configure a user's settings/.ini-file?
Replies: 1
Views: 3039

How do I configure a user's settings/.ini-file?

Hello, It would be advantageous for us to configure some of our user's settings to be the same, such that graphs looks identical and such that users don't leave a ~RG-file every time they do minor changes in a program. I see there are some .ini-files, and I assume I will have to make a program that ...
by MartinsFest
Fri Jan 20, 2023 6:28 am
Forum: Bug Reports
Topic: Eviews does not respond or crash when using close-command in User-object
Replies: 0
Views: 10880

Eviews does not respond or crash when using close-command in User-object

This builds upon this discussion about user-objects: https://forums.eviews.com/viewtopic.php?f=5&t=21321 I have made a user-object that opens some documentation when viewed. This is what runs when a user views this object: %docPath = @replace(@linepath, "_USER-OBJECTS\HELP-BUTTON", &qu...
by MartinsFest
Mon Jan 16, 2023 5:03 am
Forum: Add-in Support
Topic: add-in: desc
Replies: 5
Views: 4054

Re: add-in: desc

This is something I also would like to know.

Go to advanced search