From 5f1696719ec36979005f5792a4049b30e5a7d9b2 Mon Sep 17 00:00:00 2001 From: TinWoodman92 Date: Tue, 30 May 2023 18:37:33 -0500 Subject: consolidated launchers for multithread. --- launcher_R.py | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 launcher_R.py (limited to 'launcher_R.py') diff --git a/launcher_R.py b/launcher_R.py deleted file mode 100644 index 415430a..0000000 --- a/launcher_R.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -from subprocess import * - -print(os.getcwd()) - -tar_fil = os.path.join(os.getcwd(),'source_file.r') -print(tar_fil) -if os.path.exists(tar_fil): - rscript_path = 'C:/Program Files/R/R-4.2.2/bin/Rscript.exe' - print(os.path.exists(rscript_path)) - rscript_cmd = 'Rscript' - run( - f'{rscript_cmd} "{tar_fil}"', - cwd = os.getcwd(), - start_new_session = True - ) - -print("end launcher") - -- cgit v1.2.3