Libraries: mt-R

 

mt-R:

Libraries for the interaction of МТ4/5 with R

Author: СанСаныч Фоменко

 
Automated-Trading:

mt-R:

Author: SanSanych Fomenko

correct the typos - the licence is "GPL v.2" not GNU-2 (as if the terms are completely different).
 
Well done guys! Thank you!
 
Maxim Kuznetsov:
correct typos - the licence is "GPL v.2", not GNU-2 (as if the terms are completely different).

The R language itself is distributed under the GNU GPL licence. packages Under the GPL licence.

I won't go into the details.

Everyone can use it unrestrictedly with a link to this codobase clause.

 
СанСаныч Фоменко:

The R language itself is distributed under the GNU GPL licence. packages Under the GPL licence

I won't go into the subtleties.

Everyone can use it unrestrictedly with reference to this codobase clause

The resulting product has a GPL v2 licence and this should be clearly stated. And you are wrong about "unrestricted"

The rules of good manners also require you to include the full text, in addition to the preambula in the source. This was actually pointed out to you in the discussion.
 
Maxim Kuznetsov:
the resulting product has a GPL v2 licence and this should be clearly stated. And about "unrestricted" you are mistaken

The rules of good manners also require you to attach the full text, in addition to the preambula in the source. This was actually pointed out to you in the discussion.

Corrected
 
I am attaching a modified version of R.mqh here.
Files:
R.mqh  17 kb
 
I am attaching a modified version of R.mqh here.
Files:
R.mqh  17 kb
 

Thanks Rasoul!
There is small change required to be able to compile it for mt5 - add another #endif after R86.dll import


The library stopped working with the latest versions of the terminal, Rasoul's file worked for MT4.
But to compile this file for MT5 a small change was needed, I have attached the modified file.

And I have another problem with MT5 - the library works only in scripts, but Expert Advisors crash with an error right after calling RInit. I've been sitting for an hour and still haven't figured out what's wrong.

Files:
R.mqh  17 kb
 
I am running R.mqh with mt 5.
As soon as you run a program that uses this file, MT5 will kill.
Help me.

 

A big request to modifiers. Please change the library name after each modification. Same name libraries with different contents is a headache and a waste of time.

We need to keep track of versions. Otherwise it's a disaster.

Good luck.