Search found 78 matches

by ErikG
Tue May 26, 2015 12:55 am
Forum: Programming
Topic: Copying matrices with row and column labels
Replies: 9
Views: 9267

Re: Copying matrices with row and column labels

Hi, It appears you didn't manage to get this functionality into Eviews 9. It would be great if you could. It would also be supergreat if you could enable some functionality to access the information in the labels, like the following example: For some matrix mX: %rLabels = "A B" mX.setrowla...
by ErikG
Mon May 25, 2015 5:53 am
Forum: Bug Reports
Topic: Crash problems Eviews 9
Replies: 2
Views: 3380

Crash problems Eviews 9

Hi,

I'm having some crash problems when asking Eviews to show series that aren't in the workfile using the show command.

I've got the may 20th build.

/Erik.
by ErikG
Tue Jan 20, 2015 4:35 am
Forum: Programming
Topic: Copying matrices with row and column labels
Replies: 9
Views: 9267

Copying matrices with row and column labels

Hi,

I would like to copy a few matrices with row and column labels assigned with .setcollabels and .setrowlabels into another workfile. When I do this the labels are lost. How do I copy the matrices with the labels included?

Regards,
/Erik
Eviews 8.1 Jan 12 2015 build
by ErikG
Fri Jan 16, 2015 7:41 am
Forum: Bug Reports
Topic: Retreiving data from different servers/disks
Replies: 4
Views: 4333

Re: Retreiving data from different servers/disks

Do you mean that it is impossible to have two series with identical names within the same page or within the same workfile? It seems that I can create series with identical names in different pages in one workfile, with different contents. But it does not seem to be possible to import data series wi...
by ErikG
Fri Jan 16, 2015 4:27 am
Forum: Suggestions and Requests
Topic: Importing data from excel
Replies: 0
Views: 2666

Importing data from excel

Hi, I have a few suggestions regarding importing data from excel: 1. When The excel sheet or a specified sheet is not found there should be an error message saying so. 2. When reading data from an excel file with mutliple sheets containing the same column names into separate workfile pages , there s...
by ErikG
Wed Nov 12, 2014 1:13 am
Forum: Programming
Topic: Linkto with unstructured/undated pages, smpl option
Replies: 2
Views: 3545

Re: Linkto with unstructured/undated pages, smpl option

Thanks, it works. This seems to solve the uppercase issue:

Code: Select all

Score.linkto(c=unique, Smpl="If @UPPER(aMonth)=""september""") RawData\TestScore @src aStudentName @dest aName
by ErikG
Tue Nov 11, 2014 6:06 am
Forum: Programming
Topic: Linkto with unstructured/undated pages, smpl option
Replies: 2
Views: 3545

Linkto with unstructured/undated pages, smpl option

Hi, The smpl option in the linkto command does not seem to work for unstructured pages. In the following example, I get an error in the link object: *** Unable to Perform Link *** Error in Sample: Illegal date IF AMONTH="SEPTEMBER". WfCreate(wf=C:\Temp\test.wf1) u 10 Alpha aStudentName = &...
by ErikG
Wed Oct 01, 2014 1:47 am
Forum: Programming
Topic: Keep only some objects in a page
Replies: 1
Views: 2538

Re: Keep only some objects in a page

Nevermind, I found a simple solution:


Code: Select all

Subroutine Keep(String %KeepThese)
   %Everything = @Upper(@WLookup("*"))
   %KeepThese  = @Upper(%KeepThese)
   %DeleteList = @WNotIn(%Everything,%KeepThese)
   %DeleteList = @WDrop(%DeleteList,"c resid")
   Delete {%DeleteList}
EndSub
by ErikG
Wed Oct 01, 2014 1:20 am
Forum: Programming
Topic: Keep only some objects in a page
Replies: 1
Views: 2538

Keep only some objects in a page

Hi, How do I delete everything from a page except for a specified list of objects? I'm working on a subroutine where I create a new page and I will have an arbitrary number of objects in that new page that I want to get rid of. As I understand it the PageSave @keep isn't useful because that creates ...
by ErikG
Mon Sep 15, 2014 6:01 am
Forum: Programming
Topic: Manipulating data members in user objects
Replies: 1
Views: 2461

Manipulating data members in user objects

Hi, 1. Is it possible to create new data members that aren't strings or scalars inside a user object, without creating them in the workfile page beforehand? 2. Is it possible to manipulate data members within the user object without directly or indirectly extracting them to the workfile page? I've g...
by ErikG
Mon Sep 15, 2014 3:27 am
Forum: Data Manipulation
Topic: How to sum up observation?
Replies: 8
Views: 15663

Re: How to sum up observation?

Try creating a new page and use the link object with match merge: Link NewLinSeries NewLinkSeries.linkto(c=sum) oldpage\oldseries @src OldAlphaIdentifier @dest newAlphaIdentifier You have to create a new alpha series in the new page with the category identifiers you are interested in summing over.
by ErikG
Mon Sep 15, 2014 12:42 am
Forum: Bug Reports
Topic: Long procedure names in user objects
Replies: 4
Views: 4770

Re: Long procedure names in user objects

Strange, perhaps it's a network thing, none of my files are on a local computer. The character limit seems to be 16, i.e 2 bytes right? Could you try this with any object: WfCreate(wf=attempt, page=mypage) u 1 TestObject Ob ob.ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ ob.XXXXXXX...
by ErikG
Fri Sep 12, 2014 3:44 am
Forum: Bug Reports
Topic: Long procedure names in user objects
Replies: 4
Views: 4770

Re: Long procedure names in user objects

I should mention that calling the long procedure with the interactive user interface - the procedure meny in the object - works fine, but calling the procedure by running the .prg file as shown above does not.
by ErikG
Fri Sep 12, 2014 3:32 am
Forum: Bug Reports
Topic: Long procedure names in user objects
Replies: 4
Views: 4770

Long procedure names in user objects

Hi, Is there a maximum length for the name (or the .prg filename) for user defined procedures in user defined objects? - If this is the case, could you make sure that Eviews gives the author some kind of warning? I may be mistaken but it appears that Eviews simply ignores calls to procedures that ha...
by ErikG
Wed Sep 10, 2014 3:38 am
Forum: Programming
Topic: Sheet view for sVectors dysfunctional?
Replies: 4
Views: 4657

Re: Sheet view for sVectors dysfunctional?

Ok, thanks

Go to advanced search