Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

Potential bug in R Analytics App

$
0
0
Hi guys at Itility, I attended your session at .conf 2016. I've been playing around with your R app and am seeing that frequently when using the runRdo custom command that I get inconsistent results coming back from R in Splunk. Example below. The search below occasionally comes back with the correct results and populates splunk with the test data frame. However, more often than not it comes back with a Null error. | inputlookup iris.csv | runRdo script="set.seed(1); my_iris = dataset[-5]; species = dataset$species; kmeans_iris = kmeans(my_iris,3); kmeans_table = table(kmeans_iris$cluster,species); test = as.data.frame(kmeans_table); return(test);" #error results message session status NA/NaN/Inf in foreign function call (arg 1) In call: do_one(nmeth) 0 400 #correct results Var1 Freq species 1 50 Iris Setosa 2 0 Iris Setosa 3 0 Iris Setosa 1 0 Iris Versicolor 2 2 Iris Versicolor 3 48 Iris Versicolor 1 0 Iris Virginica 2 36 Iris Virginica 3 14 Iris Virginica Please let me know what you think.

Viewing all articles
Browse latest Browse all 47296

Trending Articles