Hi, I faced the same problem with gdxrrw, my solution is simple:
Just modify the environmental variable by adding C:\GAMS\win64\24.3 to your path. Then it works for me.
在 2015å¹´8月5日星期三 UTC+9上åˆ11:06:10,Steven Dirkse写é“:
Shyam,
It looks like your GAMS 23.9 system is a 32-bit system, but your 24.4 system is 64-bit. Try installing the 64-bit 23.9 in C:/gams/win64/23.9 and pointing to that with the igdx() call.
If problems persist, you could always update your GAMS license.
If that's not possible, consider pointing to the 24.4. system when you use gdxrrw to read/write GDX files - if you avoid calling gams() you are just using the GDX DLL and that doesn't require any license. If you want to run GAMS from withing R you can do so using the system2() call with an absolute path to a licensed GAMS version in the arguments.
-Steve
On Tue, Aug 4, 2015 at 1:46 PM, shyam basnet wrote:
Dear GAMS Users,
I am trying to run GAMS and R together using the package “gdxrrwâ€, but I received the following error message with GAMS_23.9,
> igdx("C:/Program Files(x86)/GAMS23.9/")
Error loading the GDX API from directory C:/Program Files(x86)/GAMS23.9/
Could not load shared library C:/Program Files(x86)/GAMS23.9/\gdxdclib64.dll: Windows error
The GDX library has not been loaded
But, this works fine with the newest version of GAMS (24.4).
> igdx("c:/GAMS/win64/24.4/")
The GDX library has been loaded
GDX library load path: c:/GAMS/win64/24.4/
My problem is that I have a license of GAMS_23.9, but not for GAMS_24.4.
Could you please suggest “how can I run R and GAMS_23.9 using the package “gdxrrw†?
Or, I might have misunderstood the error message.
I really appreciate your help,
Thanks,
Shyam Basnet
SLU, Uppsala
Sweden
--
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+...@googlegroups.com.
To post to this group, send email to gams...@googlegroups.com.
Visit this group at
http://groups.google.com/group/gamsworld.
For more options, visit
https://groups.google.com/d/optout.
--
Steven Dirkse, Ph.D.
GAMS Development Corp., Washington DC
Voice: (202)342-0180 Fax: (202)342-0181
sdi...@gams.com
http://www.gams.com
--
To unsubscribe from this group and stop receiving emails from it, send an email to
gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to
gamsworld@googlegroups.com.
Visit this group at
http://groups.google.com/group/gamsworld.
For more options, visit
https://groups.google.com/d/optout.