Forum Discussion
FICO
2 years agoCommunity Manager
How do you get an R script to locate the Xpress license?
I just installed Xpress optimizer (on Linux MInt) and tried out the first_lp_problem.R example. The call to xprs_loadproblemdata() failed with the message "The license file was not found in '.'." Not...
FICO
2 years agoCommunity Manager
Thanks for posting the answer yourself and helping other users to avoid this common pitfall between R and RStudio. In RStudio you can verify that the environment variable is actually set by executing
Sys.getenv("XPAUTH_PATH")from inside the interactive RStudio terminal. If this returns an empty string, follow Paul's recipe and make sure that RStudio is launched with a valid .Renviron initialization.
Related Content
Related Content
- 2Views0likes2Comments