We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 424c317 commit 9e3b007Copy full SHA for 9e3b007
diabetes_regression/training/R/train_with_r.py
@@ -1,3 +1,3 @@
1
-import os
+import subprocess
2
3
-os.system("Rscript r_train.r && ls -ltr model.rds")
+subprocess.check_call(["bash", "-c", "Rscript r_train.r && ls -ltr model.rds"])
0 commit comments