This is nothing to worry about. It does observe it optimized the .ex4 by not including but never used in this EA. (They must be there since other EAs or indiors utilizing mt4R.mqh may need them). Other compilers do so optimizing too without mentioning it (at least not labeled as warning) but the mql4 compiler is somewhat talkative.Originally Posted by ;
When it compiles but MT4 does instantly crash then the route towards the Rterm binary is not accurate.
Additionally you require DebugView.exe (from microsoft) should you want to produce your own scripts (and set the debug level in RInit() to two ) since it cannot use Print() it requires this to output debug messages and you have to view what's going on until your script is completely working.
It also helps for debugging and development to perform a RExecute(manage, save.image('c:/path/to/somewhere/ / file.R')) following some intermediate results to save the whole workspace, which means you can load it in a separate R console to scrutinize it interactively and test matters.