Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
basik85278
by basik85278. 04/28/24 08:56
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (SBGuy, Quad), 768 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 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: 94
7
7th_zorro Offline OP
Junior Member
7th_zorro  Offline OP
Junior Member
7

Joined: Oct 2018
Posts: 94
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: 294
Netherlands
G
Grant Offline
Member
Grant  Offline
Member
G

Joined: Aug 2017
Posts: 294
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: 94
7
7th_zorro Offline OP
Junior Member
7th_zorro  Offline OP
Junior Member
7

Joined: Oct 2018
Posts: 94
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: 294
Netherlands
G
Grant Offline
Member
Grant  Offline
Member
G

Joined: Aug 2017
Posts: 294
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: 94
7
7th_zorro Offline OP
Junior Member
7th_zorro  Offline OP
Junior Member
7

Joined: Oct 2018
Posts: 94
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: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
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 | chip programmers | 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