You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 24, 2024. It is now read-only.
Hi, My R script is giving me an expected result through RStudio but when I use the same script through the Qlik Sense Load Editor, it is giving me an error saying there might be NA/NaN in the data being passed.
Description
Hi, My R script is giving me an expected result through RStudio but when I use the same script through the Qlik Sense Load Editor, it is giving me an error saying there might be NA/NaN in the data being passed.
Steps to Reproduce
library(xlsx);
library(lpSolve);
q = read.csv(file = 'var140.csv', header = FALSE)
q = as.data.frame(q);
Constraint = q[2:168,1:140];
OBJ = t(q[2:141,142]);
RHS = t(q[2:168,141]);
BackToGeo = (lp("max", OBJ, Constraint, "<=", RHS, compute.sens = TRUE))$solution;
BackToGeo;
Expected behavior
A result vector of size 140 to be returned.
[What you expected to happen]
A result vector of size 140 to be returned.
Actual behavior
Argument 3 returns NA/NaN/Inf error
Environment
Qlik Sense Desktop
Operating system where the SSE plugin is deployed
Windows 10
Qlik Sense
Desktop
[ ] Desktop
[ ] Server
The text was updated successfully, but these errors were encountered: