RapidMiner and R

MarlaBot
MarlaBot New Altair Community Member
edited November 5 in Community Q&A
A RapidMiner user wants to know the answer to this question: "Hello members,
I need some help with RapidMiner and R..
I am student and running an assignment script in RapidMiner 9.2.001 with R Gui (R version 3.6.0 (2019-04-26))
I have tested R sample tutorials ( Execute R ) in studio and it runs fine.
As part of chapter, we have to run R script to generate clusters. But the script fails on following line.
ARI = adjustedRandIndex(data$cluster1, data$cluster2)
ARI = as.data.frame(ARI)
pci = as.data.frame(t(pci(data$cluster1, data$cluster2)))
With the error saying
"Failed to parse the script."
"object of type 'closure' is not subsettable"
I tried to search everywhere, even on one of the blogger "Andrew" has reference to this. But I can't find solution. I have R installed. I installed "mclust" and "profdtm" packages as well.
The objective is to run through the script and analyze the result. I do not have R background. So any help would be greatly appreciated.

Many thanks"
Tagged:

Answers