Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

calling R routine
 Post subject: calling R routine Post rating: 0   New post Posted: Mon 26 Sep, 2016, 09:19 
User avatar

User rating: 0
Joined: Fri 16 Dec, 2011, 15:05
Posts: 26
Location: Italy, ventimiglia
Hello everybody,

I installed and gave the correct paths to JForex to call routines from R (Rjava) and the compilation is successful. The problems start when launching the strategy in JForex: in fact the program break.

Any suggestion?


 
 Post subject: Re: calling R routine Post rating: 0   New post Posted: Tue 27 Sep, 2016, 08:15 
User avatar

User rating: 2
Joined: Sun 15 Apr, 2012, 22:19
Posts: 25
Location: GermanyGermany
What does it mean 'break'? Do you get an Exception?


 
 Post subject: Re: calling R routine Post rating: 0   New post Posted: Fri 30 Sep, 2016, 21:52 
User avatar

User rating: 0
Joined: Fri 16 Dec, 2011, 15:05
Posts: 26
Location: Italy, ventimiglia
No, jforex shut down unexpectedly


 
 Post subject: Re: calling R routine Post rating: 0   New post Posted: Wed 05 Oct, 2016, 16:17 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Please provide example that would reproduce this problem. In general JForex SDK code is the same as Java code.


 
 Post subject: Re: calling R routine Post rating: 0   New post Posted: Sat 07 Jan, 2017, 15:40 
User avatar

User rating: 0
Joined: Fri 16 Dec, 2011, 15:05
Posts: 26
Location: Italy, ventimiglia
There are no particular examples. In fact I install properly Rjava and I load the library: '@Library ("C: /Users/calog/JForex/libs/demo_3/3.0.15/JRI.jar")'. The strategy compiles regularly.
At a time when initializing the Rengine "Rengine re = new Rengine (new String [] {" - no - save "}, false, null);" is executed the platform closes unexpectedly without saving anything.

Rjava under JForex have been tested under Windows 10?


 

Jump to:  

  © 1998-2024 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com