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 function
 Post subject: Calling R function Post rating: 0   New post Posted: Tue 12 Nov, 2013, 15:50 
User avatar

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

I was wondering if it was possible to call the function of the R software into JForex.

Any suggestions?

Calogero


 
 Post subject: Re: Calling R function Post rating: 0   New post Posted: Tue 12 Nov, 2013, 17:02 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
If it is a java library then see:
https://www.dukascopy.com/wiki/#Include_libraries
Otherwise, consider using jna (attach the jna.jar file as a library):
https://github.com/twall/jna
Or find a java library which implements the functionality that you need.


 
 Post subject: Re: Calling R function Post rating: 0   New post Posted: Wed 13 Nov, 2013, 23:08 

User rating: 0
Joined: Fri 04 Oct, 2013, 22:18
Posts: 14
Location: FranceFrance
also see JRI, it's a small java library included in rJava R package
but I didn't manage to get there example working yet

@Support, I guess it would work with local run if we have R installed, but it wouldn't work in backtests, since you probably don't have R installed and configured on your backtest servers?


 
 Post subject: Re: Calling R function Post rating: 0   New post Posted: Thu 14 Nov, 2013, 08:15 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
ci11111 wrote:
@Support, I guess it would work with local run if we have R installed, but it wouldn't work in backtests, since you probably don't have R installed and configured on your backtest servers?
No, libraries should in all run modes - Local Run, Remote Run, and when back-testing.


 

Jump to:  

cron
  © 1998-2025 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