Convert a spool of objects into one data (text or csv) file

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

dwagner
Posts: 4
Joined: Fri Jun 24, 2011 7:16 am

Convert a spool of objects into one data (text or csv) file

Postby dwagner » Fri Jun 24, 2011 7:22 am

I have the following spool:
LS Y1 C X
spool myspool
equation eq1.LS Y2 C X
myspool.append eq1
equation eq2.LS Y3 C X
myspool.append eq2
equation eq3.LS Y4 C X
myspool.append eq3
etc...........

This returns a set of distinct result sets for each equation, stacked on top of each other. I want to save this file as text or csv (all the result sets together - as opposed to copy / pasting each one separately) so I can quickly compile the coefficients and test statistics in excel. Is this possible?

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13603
Joined: Tue Sep 16, 2008 5:38 pm

Re: Convert a spool of objects into one data (text or csv) f

Postby EViews Gareth » Fri Jun 24, 2011 8:04 am

Code: Select all

myspool.save(t=csv) c:\mydocs\myspool.csv

dwagner
Posts: 4
Joined: Fri Jun 24, 2011 7:16 am

Re: Convert a spool of objects into one data (text or csv) f

Postby dwagner » Fri Jun 24, 2011 8:16 am

Thanks - I will give that a shot


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests