Error on importing mt4R

 

I'm trying to use R->MQL library but I'm getting the following error message when I try to import it:

 

Cannot call 'mt4R.dll::RGetDllVersion', 'mt4R.dll' is not loaded

 I'm in an Ubuntu 14.04 machine. This is my code:

 

#define RPATH "/usr/lib/R --no-save"


#include <mt4R.mqh>
#include <common_functions.mqh>

int init(){

   
   if (UninitializeReason() != REASON_CHARTCHANGE){
      StartR(RPATH, RDEBUG);
      Rx("y <- 1");                           
      
      
   }
   

}
 
filipefr:

I'm trying to use R->MQL library but I'm getting the following error message when I try to import it:

 

Cannot call 'mt4R.dll::RGetDllVersion', 'mt4R.dll' is not loaded

 I'm in an Ubuntu 14.04 machine. This is my code:

 

 

 

 

Hi,

I have the same problem now when trying to do the same stuff on ubuntu. I wonder if've found the solution? Or maybe the only way is to stay with windows?

Reason: