-
-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"The backend of Task xxx has been removed" error under StatET #850
Comments
Here is a better fuller traceback() R version 4.2.1 Patched (2022-07-29 r82648 ucrt) -- "Funny-Looking Kid"
Error: The backend of Task 'palmerpenguins::penguins' has been removed. Set |
Looking at the tracebacks, I guess the problem may be StatET scanning all objects after every top-level line of R is executed in order to maintain its state. If this is the case, would that regarded as the fault of StatET or of mlr3? Thanks. |
Hey, thanks for the bug report.
You are probably right. This could be a clash between R6 and StatET. I'm not sure what we can do about that. This might be a StatET bug related to R6 objects. Or StatET also uses |
Thanks so much for the reply! I really appreciate it. I have opened an issue with StatET at https://gitlab.eclipse.org/eclipse/statet/statet/-/issues/32 and will see what he thinks ........ |
I have a variety of problems running mlr3 under StatET (https://projects.eclipse.org/projects/science.statet) on Windows 10.
Some of these problems include R crashes, but the easiest problem to reproduce is to just run the following example
library(mlr3)
task_penguins = as_task_classif(species ~ ., data = palmerpenguins::penguins)
learner = lrn("classif.rpart", cp = .01)
split = partition(task_penguins, ratio = 0.67)
learner$train(task_penguins, split$train_set)
prediction = learner$predict(task_penguins, split$test_set)
prediction$confusion
The output and traceback is shown below. The "Error:..." line appears 12 times every time you do anything from that point on!
This is exactly the same behavior under multiple recent R releases, multiple recent StatET releases, multiple MLR3 releases (this is the current code as of today) , and multiple Eclipse and Java releases. It does not occur using R alone without StatET.
What would be the best way to pursue this? I am happy to run any tracing you would suggest.
Thanks
================================
Output follows:
Error: The backend of Task 'palmerpenguins::penguins' has been removed. Set
store_backends
toTRUE
during model fitting to conserve it.Error: The backend of Task 'palmerpenguins::penguins' has been removed. Set
store_backends
toTRUE
during model fitting to conserve it.Error: The backend of Task 'palmerpenguins::penguins' has been removed. Set
store_backends
toTRUE
during model fitting to conserve it.Error: The backend of Task 'palmerpenguins::penguins' has been removed. Set
store_backends
toTRUE
during model fitting to conserve it.Error: The backend of Task 'palmerpenguins::penguins' has been removed. Set
store_backends
toTRUE
during model fitting to conserve it.Error: The backend of Task 'palmerpenguins::penguins' has been removed. Set
store_backends
toTRUE
during model fitting to conserve it.Error: The backend of Task 'palmerpenguins::penguins' has been removed. Set
store_backends
toTRUE
during model fitting to conserve it.Error: The backend of Task 'palmerpenguins::penguins' has been removed. Set
store_backends
toTRUE
during model fitting to conserve it.Error: The backend of Task 'palmerpenguins::penguins' has been removed. Set
store_backends
toTRUE
during model fitting to conserve it.Error: The backend of Task 'palmerpenguins::penguins' has been removed. Set
store_backends
toTRUE
during model fitting to conserve it.Error: The backend of Task 'palmerpenguins::penguins' has been removed. Set
store_backends
toTRUE
during model fitting to conserve it.Error: The backend of Task 'palmerpenguins::penguins' has been removed. Set
store_backends
toTRUE
during model fitting to conserve it.The text was updated successfully, but these errors were encountered: