Page 1 of 1

Issue When Calling Matlab or R from EViews for Long Program

Posted: Sun Dec 15, 2013 11:14 am
by vkarora
I am calling either R or Matlab from an EViews program. I have found that if the R or Matlab scripts take longer than one minute to complete there is a dialog box that pops up which says something to the effect of "server busy", and gives an option to "switch to" to "retry" or to "cancel". The issue is that EViews seems to stop executing once this dialog pops up until I select either "switch to" or "retry", and so I am unable to leave the programs to run on their own to completion.

I am hoping someone has encountered a similar problem before and might be able to assist or provide any advice. The only references I can find to this type of thing are specific to Matlab. Thanks in advance.

Re: Issue When Calling Matlab or R from EViews for Long Prog

Posted: Mon Dec 16, 2013 9:35 am
by EViews Steve
I have create a new function called "COMTIMEOUT" that allows you to extend the timeout period before you get the "busy server" dialog or turn it off altogether. Send me an email (steve@eviews.com) referring to this forum post and I'll send you this code change so you can try it before we release it in the next patch.

Specify your EViews serial number and which version you are running (EViews 7, 8, 32-bit, 64-bit, etc.)

Steve

Re: Issue When Calling Matlab or R from EViews for Long Prog

Posted: Wed Nov 05, 2014 10:41 am
by EViews Steve
For others looking to use this command, you can now use it in EViews like this:

COMTIMEOUT(seconds to wait)

Set seconds to zero (0) if you never want it to timeout.

Steve

Re: Issue When Calling Matlab or R from EViews for Long Program

Posted: Tue Oct 17, 2017 11:37 am
by fmramos
Nice topic. It was really useful for me. EV10 already has this command embedded. Thanks, Fabio