I´m creating a workflow which uses the following Generic R nodes:
“Convert to R” to pass the data to the R workspace
“R Snippet” to calculate anova and Dunnet post-hoc test.
“R plot” to plot the data.
I load R and execute “library(Rserve); Rserve(args = “–vanilla”)” to start rserve.
Everything works the first time. But after executing the R plot once, if i try to execute other R nodes I get the following error
“ERROR R Plot 2:792 Unable to clone input data at port 1 (existing R workspace): org.rosuda.REngine.REXPGenericVector cannot be cast to org.rosuda.REngine.REXPString”.
So have to close R, launch it again and execute Rserve.
What I´m doing wrong? How can I prevent this behavior?
NTT_PMI_0.5.knwf (63.5 KB)