Posted By: 7th_zorro
Rstart function can't call subfolder r file - 06/27/23 05:25
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.
Posted By: Grant
Re: Rstart function can't call subfolder r file - 07/03/23 20:15
You need to adjust the 'StrategyFolder' path in zorro.ini
https://zorro-project.com/manual/en/ini.htm
Posted By: 7th_zorro
Re: Rstart function can't call subfolder r file - 07/04/23 03:00
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.
Posted By: Grant
Re: Rstart function can't call subfolder r file - 07/04/23 06:54
Not sure what exactly went wrong. I would suggest to use the default settings.
Posted By: 7th_zorro
Re: Rstart function can't call subfolder r file - 07/04/23 13:03
I found a problem.
Rstart("test.r", 2); // error
Rstart("MyCode\\test.r", 2); // error
Rstart("MyCode/test.r", 2); // OK