Hi,
I am executing the following R snippet through KNIME :
“R<-add.constraint(R, R$“ECV”, “<=”, 8000)”
and getting the following error:
Error in R$ECV : object of type ‘externalptr’ is not subsettable
Calls: add.constraint
Execution halted
Any idea about the same? If I execute it through the KNIME console itself, the same works fine.
The snippet that i use when directly executing from console is :
“lprec<-set.objfn(lprec, Optimization$“Revenue”)”