SOH979
January 29, 2015, 4:01pm
1
I'm trying to use the rgp package within an R snippet.
The fairly simple code:
library(rgp)
RD <- knime.in
result1 <- symbolicRegression(y ~ ., data=RD, functionSet=mathFunctionSet, stopCondition=makeStepsStopCondition(100))
fails with "object 'mathFunctionSet' not found".
The same code in stand-alone R works fine.
Any ideas?
- Steve -
gabriel
February 16, 2015, 10:24am
2
Steve, are you using the same, standalone R installation in KNIME configured under File > Preferences -- I think it's just an issue that the lib is not installed into the KNIME embedded R which can also be updated as in normal R.
SOH979
July 28, 2015, 11:19am
3
Hi,
I thought I'd replied sooner, but my reply lost/not saved?!
I had already configured Knime to use my standalone version of R (3.1.2).
I usually develope R scripts in RStudio - then transfer them to Knime.
RGP still showing the same error.
Cheers,
Steve.
system
Closed
June 2, 2023, 9:31pm
4
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.