|
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 |
cbennici
|
Post subject: calling R routine |
Post rating: 0
|
Posted: Mon 26 Sep, 2016, 09:19
|
|
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?
|
|
|
|
|
drNice1000
|
Post subject: Re: calling R routine |
Post rating: 0
|
Posted: Tue 27 Sep, 2016, 08:15
|
|
User rating: 2
Joined: Sun 15 Apr, 2012, 22:19 Posts: 25 Location: GermanyGermany
|
What does it mean 'break'? Do you get an Exception?
|
|
|
|
|
cbennici
|
Post subject: Re: calling R routine |
Post rating: 0
|
Posted: Fri 30 Sep, 2016, 21:52
|
|
User rating: 0
Joined: Fri 16 Dec, 2011, 15:05 Posts: 26 Location: Italy, ventimiglia
|
No, jforex shut down unexpectedly
|
|
|
|
|
API Support
|
Post subject: Re: calling R routine |
Post rating: 0
|
Posted: Wed 05 Oct, 2016, 16:17
|
|
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.
|
|
|
|
|
cbennici
|
Post subject: Re: calling R routine |
Post rating: 0
|
Posted: Sat 07 Jan, 2017, 15:40
|
|
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?
|
|
|
|
|
|
Pages: [
1
]
|
|
|
|
|