refactor: setting r variables

This commit is contained in:
straile 2024-11-04 16:11:14 +01:00
parent 47c9ffff2b
commit 3894cd4165

View File

@ -724,9 +724,6 @@ int main(int argc, char *argv[]) {
run_params.use_clustering = true;
MSG("Clustering will be used for the AI surrogate")
}
if (Rcpp::as<bool>(R.parseEval("exists(\"train_only_invalid\")"))) {
run_params.train_only_invalid = R["train_only_invalid"];
}
if (!Rcpp::as<bool>(R.parseEval("exists(\"model_reactive_file_path\")"))) {
R.parseEval("model_reactive_file_path <- model_file_path");
}