Calling external programs (other than R or Matlab)

For questions regarding programming in the EViews programming language.

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

BrsG
Posts: 18
Joined: Thu Aug 29, 2013 3:20 am

Calling external programs (other than R or Matlab)

Postby BrsG » Wed Oct 29, 2014 4:08 am

Hi there,

I would like to call/launch a simple exe (that fetches data from various sources) from within Eviews. No reference to functionality of that program - other than launching it - is required. Is there a way to do this?

Cheers

BrsG
Posts: 18
Joined: Thu Aug 29, 2013 3:20 am

Re: Calling external programs (other than R or Matlab)

Postby BrsG » Wed Oct 29, 2014 7:13 am

I should have mentioned that the program I would like to use is a command line type program that runs under DOS.

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

Re: Calling external programs (other than R or Matlab)

Postby EViews Gareth » Wed Oct 29, 2014 9:18 am

Use either the SHELL or SPAWN commands.

BrsG
Posts: 18
Joined: Thu Aug 29, 2013 3:20 am

Re: Calling external programs (other than R or Matlab)

Postby BrsG » Fri Nov 14, 2014 7:26 am

Works. Many thanks.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests