Hello GAMS Forum
I tried to use GAMS Tranfer R.
I succeeded in installing the gamstransfer library but when I run the line: m = Container$new() I have an error message: "Error in find_gams() :
Could not find a GAMS installation, must manually specify system directory"
I understand that the system directory is not well specified in the find_gams function, but I don't know how to specify it manually.
can someone help me?
Thank you
Sophie
Problem with GAMS Transfer R
Re: Problem with GAMS Transfer R
Sophie,
There are a couple ways to get gams transfer R to identify the system directory.
1. Add gams system directory to your system variable PATH. Depending on the platform you use, there are different ways to achieve this. This is the recommended and easier solution.
2. Alternatively, you can use systemDirectory argument to the container constructor.
m=Container$new(systemDirectory=“C:/GAMS/44”)
You can view this in the documentation:
https://www.gams.com/44/docs/API_R_GAMS ... _CONTAINER
Hope this helps.
Best, Atharv
There are a couple ways to get gams transfer R to identify the system directory.
1. Add gams system directory to your system variable PATH. Depending on the platform you use, there are different ways to achieve this. This is the recommended and easier solution.
2. Alternatively, you can use systemDirectory argument to the container constructor.
m=Container$new(systemDirectory=“C:/GAMS/44”)
You can view this in the documentation:
https://www.gams.com/44/docs/API_R_GAMS ... _CONTAINER
Hope this helps.
Best, Atharv
Re: Problem with GAMS Transfer R
Thank you so much
Regards
Sophie
Regards
Sophie