Gamestudio Links
Zorro Links
Newest Posts
SGT_FW
by Aku_Aku. 11/30/26 08:19
Removing outliers from files
by JeyKey II. 11/29/26 10:01
Experiences with cTrader
by JeyKey II. 11/27/26 09:04
make a complaint
by EW_bytes. 11/26/26 23:00
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
6 registered members (TipmyPip, AndrewAMD, EW_bytes, JeyKey II, krishna, rht), 12,557 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Rstart function can't call subfolder r file #487647
06/27/23 05:25
06/27/23 05:25
Joined: Oct 2018
Posts: 98
7
7th_zorro Offline OP
Junior Member
7th_zorro  Offline OP
Junior Member
7

Joined: Oct 2018
Posts: 98
When using Rstart function, how to indicate r file located in subfolder?
When c and r file located in zorro strategy folder, it is ok.
But Rstart function report error when c and r file located in zorro strategy/mycode folder.

Re: Rstart function can't call subfolder r file [Re: 7th_zorro] #487658
07/03/23 20:15
07/03/23 20:15
Joined: Aug 2017
Posts: 319
Netherlands
G
Grant Offline
Senior Member
Grant  Offline
Senior Member
G

Joined: Aug 2017
Posts: 319
Netherlands
You need to adjust the 'StrategyFolder' path in zorro.ini

https://zorro-project.com/manual/en/ini.htm

Re: Rstart function can't call subfolder r file [Re: Grant] #487659
07/04/23 03:00
07/04/23 03:00
Joined: Oct 2018
Posts: 98
7
7th_zorro Offline OP
Junior Member
7th_zorro  Offline OP
Junior Member
7

Joined: Oct 2018
Posts: 98
I tried to do what you said, but it didn't work properly.
Changing the folder in the UI Dropdown menu and changing the ini file value showed the same results.
I think there was an internal problem calling the r function.

Re: Rstart function can't call subfolder r file [Re: 7th_zorro] #487660
07/04/23 06:54
07/04/23 06:54
Joined: Aug 2017
Posts: 319
Netherlands
G
Grant Offline
Senior Member
Grant  Offline
Senior Member
G

Joined: Aug 2017
Posts: 319
Netherlands
Not sure what exactly went wrong. I would suggest to use the default settings.

Re: Rstart function can't call subfolder r file [Re: 7th_zorro] #487661
07/04/23 13:03
07/04/23 13:03
Joined: Oct 2018
Posts: 98
7
7th_zorro Offline OP
Junior Member
7th_zorro  Offline OP
Junior Member
7

Joined: Oct 2018
Posts: 98
I found a problem.

Rstart("test.r", 2); // error
Rstart("MyCode\\test.r", 2); // error
Rstart("MyCode/test.r", 2); // OK

Re: Rstart function can't call subfolder r file [Re: 7th_zorro] #487668
07/13/23 07:39
07/13/23 07:39
Joined: Jul 2000
Posts: 28,149
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,149
Frankfurt
Originally Posted by The mighty manual
When passing file names to R, use forward slashes for directories, f.i. "C:/Project/Trading/R/Data.csv". You can use the slash helper function in r.h for converting backslashes to forward slashes (f.i. slash(ZorroFolder)).


Moderated by  Petra 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1