Sie sind auf Seite 1von 2

1. Error: hydrar.

impute all columns imputed ------------------------------------


error in evaluating the argument 'x' in selecting a method for function 'column':
trying to get slot "jc" from an object of a basic class ("numeric") with no slots

1: withCallingHandlers(eval(code, new_test_environment), error = capture_calls)


2: eval(code, new_test_environment)
3: eval(expr, envir, enclos)
4: hydrar.impute(df, list(Ozone = 4000, Solar_R = "mean")) at test-
hydrar.frame.R:193
5: hydrar.impute(df, list(Ozone = 4000, Solar_R = "mean")) at
/Users/singhal/Git/Admin/spark-hydrar/HydraR/R/hydrar.frame.R:184
6: .local(hf, ...)
7: SparkR:::column(eval(parse(text = i))@jc) at /Users/singhal/Git/Admin/spark-
hydrar/HydraR/R/hydrar.frame.R:238
8: .handleSimpleError(function (e)
{
e$calls <- head(sys.calls()[-seq_len(frame + 7)], -2)
signalCondition(e)
}, "error in evaluating the argument 'x' in selecting a method for function
'column': Error: trying to get slot \"jc\" from an object of a basic class
(\"numeric\") with no slots\n",
quote(SparkR:::column(eval(parse(text = i))@jc)))

2. Error: hydrar.impute --------------------------------------------------------


error in evaluating the argument 'x' in selecting a method for function 'column':
trying to get slot "jc" from an object of a basic class ("numeric") with no slots

1: withCallingHandlers(eval(code, new_test_environment), error = capture_calls)


2: eval(code, new_test_environment)
3: eval(expr, envir, enclos)
4: hydrar.impute(df, list(Ozone = 4000, Solar_R = "mean")) at test-
hydrar.matrix.R:74
5: hydrar.impute(df, list(Ozone = 4000, Solar_R = "mean")) at
/Users/singhal/Git/Admin/spark-hydrar/HydraR/R/hydrar.frame.R:184
6: .local(hf, ...)
7: SparkR:::column(eval(parse(text = i))@jc) at /Users/singhal/Git/Admin/spark-
hydrar/HydraR/R/hydrar.frame.R:238
8: .handleSimpleError(function (e)
{
e$calls <- head(sys.calls()[-seq_len(frame + 7)], -2)
signalCondition(e)
}, "error in evaluating the argument 'x' in selecting a method for function
'column': Error: trying to get slot \"jc\" from an object of a basic class
(\"numeric\") with no slots\n",
quote(SparkR:::column(eval(parse(text = i))@jc)))

5. Error: hydrar.impute --------------------------------------------------------


error in evaluating the argument 'x' in selecting a method for function 'column':
trying to get slot "jc" from an object of a basic class ("numeric") with no slots

1: withCallingHandlers(eval(code, new_test_environment), error = capture_calls)


2: eval(code, new_test_environment)
3: eval(expr, envir, enclos)
4: hydrar.impute(airq_hm, list(Ozone = "mean")) at test-ml.preprocess.R:29
5: hydrar.impute(airq_hm, list(Ozone = "mean")) at /Users/singhal/Git/Admin/spark-
hydrar/HydraR/R/hydrar.frame.R:184
6: .local(hf, ...)
7: SparkR:::column(eval(parse(text = i))@jc) at /Users/singhal/Git/Admin/spark-
hydrar/HydraR/R/hydrar.frame.R:238
8: .handleSimpleError(function (e)
{
e$calls <- head(sys.calls()[-seq_len(frame + 7)], -2)
signalCondition(e)
}, "error in evaluating the argument 'x' in selecting a method for function
'column': Error: trying to get slot \"jc\" from an object of a basic class
(\"numeric\") with no slots\n",
quote(SparkR:::column(eval(parse(text = i))@jc)))

6. Error: hydrar.ml.preprocess -------------------------------------------------


error in evaluating the argument 'x' in selecting a method for function 'column':
trying to get slot "jc" from an object of a basic class ("numeric") with no slots

1: withCallingHandlers(eval(code, new_test_environment), error = capture_calls)


2: eval(code, new_test_environment)
3: eval(expr, envir, enclos)
4: hydrar.ml.preprocess(iris_hf, transformPath = "/tmp", dummycodeAttrs =
"Species",
binningAttrs = c("Sepal_Length", "Sepal_Width"), numBins = 4, missingAttrs =
c("Petal_Length",
"Sepal_Width"), imputationMethod = c("global_mean", "constant"),
imputationValues = list(Sepal_Width = 40),
omit.na = "Petal_Width", recodeAttrs = c("Species"), scalingAttrs =
c("Petal_Length")) at test-ml.preprocess.R:38
5: do.call(pp, list(curr_frame)) at /Users/singhal/Git/Admin/spark-
hydrar/HydraR/R/ml.preprocess.R:365
6: proxy.impute(<S4 object of class structure("hydrar.frame", package = "HydraR")>)
7: do.call("hydrar.impute", list(hf, iargs)) at /Users/singhal/Git/Admin/spark-
hydrar/HydraR/R/ml.preprocess.R:291
8: hydrar.impute(<S4 object of class structure("hydrar.frame", package =
"HydraR")>,
structure(list(Petal_Length = "mean", Sepal_Width = 40), .Names =
c("Petal_Length",
"Sepal_Width")))
9: hydrar.impute(<S4 object of class structure("hydrar.frame", package =
"HydraR")>,
structure(list(Petal_Length = "mean", Sepal_Width = 40), .Names =
c("Petal_Length",
"Sepal_Width"))) at /Users/singhal/Git/Admin/spark-
hydrar/HydraR/R/hydrar.frame.R:184
10: .local(hf, ...)
11: SparkR:::column(eval(parse(text = i))@jc) at /Users/singhal/Git/Admin/spark-
hydrar/HydraR/R/hydrar.frame.R:238
12: .handleSimpleError(function (e)
{
e$calls <- head(sys.calls()[-seq_len(frame + 7)], -2)
signalCondition(e)
}, "error in evaluating the argument 'x' in selecting a method for function
'column': Error: trying to get slot \"jc\" from an object of a basic class
(\"numeric\") with no slots\n",
quote(SparkR:::column(eval(parse(text = i))@jc)))

Das könnte Ihnen auch gefallen