Search found 7 matches

by MCD_nz
Sat May 20, 2023 7:49 pm
Forum: Data Manipulation
Topic: Importing data from a foreign file on the internet
Replies: 0
Views: 79824

Importing data from a foreign file on the internet

I am trying to import instructional data (in Stata format) directly from the internet. The two line program is: wfcreate(wf=url_data, page=monthly) m 1978m2 1988m12 import http://fmwww.bc.edu/ec-p/data/wooldridge/barium.dta @freq M 1978M02 @smpl @all Unfortunately I get Syntax error : 'M' is not a v...
by MCD_nz
Wed May 17, 2023 9:26 pm
Forum: Programming
Topic: Trouble saving Table to CSV file in Version 13
Replies: 5
Views: 4316

Re: Trouble saving Table to CSV file in Version 13

That solution works. Thank you.
by MCD_nz
Wed May 17, 2023 6:51 pm
Forum: Programming
Topic: Trouble saving Table to CSV file in Version 13
Replies: 5
Views: 4316

Re: Trouble saving Table to CSV file in Version 13

Perhaps I should have put this in the 'bugs' category. The problem seems to be when there is a <space> in the proposed file name. In the following test program: a file called TEST.csv is saved in the "0_work" directory when Version 13 is run a file called FORECASTS_2023_5_18.csv is saved i...
by MCD_nz
Wed May 17, 2023 3:24 pm
Forum: Programming
Topic: Trouble saving Table to CSV file in Version 13
Replies: 5
Views: 4316

Re: Trouble saving Table to CSV file in Version 13

Sorry.
jp_table is a TABLE object. Created using the commands:

group fcst num1 num2 num3
freeze(jp_table) fcst

'create string for file name path (with date stamp)
%date="c:\w1\jp_forecasts_"+@strnow("yyyy-mm-dd")

'saving Table to CSV file
jp_table.save(t=csv) {%date}
by MCD_nz
Tue May 16, 2023 10:46 pm
Forum: Programming
Topic: Trouble saving Table to CSV file in Version 13
Replies: 5
Views: 4316

Trouble saving Table to CSV file in Version 13

I am trying to save a table (with a date stamp) as a CSV file The commands are %date="c:\w1\jp_forecasts_"+@strnow("yyyy-mm-dd") jp_table.save(t=csv) {%date} These commands works in Version 12 but deliver the following error message in Version 13 Error message is : Unable to open...
by MCD_nz
Sat Aug 31, 2019 5:37 pm
Forum: Installation and Registration
Topic: Connection to R no longer working
Replies: 1
Views: 18927

Connection to R no longer working

Using EViews version 10 or 11 (enterprise version). On using the command xopen(r) or the command xopen(p) I now get the following error: EViewsRConn.exe could not be found. You may need to re-install EViews COM Error 0x80004002: No such interface supported in "XOPEN(TYPE=R)" on line 39.
by MCD_nz
Fri May 17, 2019 3:14 pm
Forum: Bug Reports
Topic: EViews 11 crashes when using fetch to get data from FRED
Replies: 8
Views: 10936

EViews 11 crashes when using fetch to get data from FRED

Hi,
When using EViews11, 64bit in Win10, EViews crashes on the fetch(m) command in the following program:

'Load US unemployment rate
wfcreate(wf=gas) m 2006m12 2013m12
dbopen(type=fred, server=api.stlouisfed.org/fred)
fetch(m) unrate
close FRED

The program works fine in EView10

Go to advanced search