Hi all,
I'm writing a program which uses a lot of sorting of series (reasonably large loops etc). Whenever I use the series "sort" command (series_name.sort) the series being sorted is opened on the screen (like using the "show") command. Is there any way I can suppress this? It seems to make the program run extremely slowly and is a bit aggravating as I end up with millions of series opened on screen (I don't want to delete these series btw so deleting them in the program is not an option).
When I use the sort command with a group (eg. "group.sort(1,2,3)" or "freeze(table_name) group.sort(1,2,3)" it doesn't open the group being sorted. This only seems to be a problem with series sorting.
Any help would be greatly appreciated, my boss wants this quick!
series "sort" command problem in my program
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
-
- Posts: 19
- Joined: Fri Oct 09, 2009 1:14 am
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13307
- Joined: Tue Sep 16, 2008 5:38 pm
Re: series "sort" command problem in my program
Looks like there isn't a way to stop this currently. I'll see if we can fix that though.
Follow us on Twitter @IHSEViews
-
- Posts: 19
- Joined: Fri Oct 09, 2009 1:14 am
Re: series "sort" command problem in my program
Hmm ok. I kludged past it using group sorting but it's definitely something I'd appreciate for future use (will probably be using this function a lot over the next year)
Thanks for your prompt reply!
Thanks for your prompt reply!
-
- EViews Developer
- Posts: 2671
- Joined: Wed Oct 15, 2008 9:17 am
Re: series "sort" command problem in my program
For now, just use the close command right after the sort. It's klugy, but probably easier than doing the group kluge.
Code: Select all
a.sort
close a
Who is online
Users browsing this forum: No registered users and 27 guests