Command Reference : Command Reference
  
 
xon
Turns on external command mode in an EViews program.
Turns on external command mode in an EViews program. Every program line after XON will be sent directly to the external application (R or MATLAB) without the need to start the command with XRUN. Call XOFF to turn this mode off.
Syntax
xoff
Examples
xopen(type=r)
xon
print(ls())
xoff
xclose
opens a connection to R, turns on external command mode, sends an R print command, turns external command mode off, and finally closes the external connection.
Cross-references
See “EViews COM Automation Client Support (MATLAB, R, Python)” for discussion.
See also xoff, xopen, xclose, xget, xput, and xrun.