diff --git a/src/phenoman-src-1.0rc/pheno_man/pheno_man.py b/src/phenoman-src-1.0rc/pheno_man/pheno_man.py index 5b6d959..f544e34 100644 --- a/src/phenoman-src-1.0rc/pheno_man/pheno_man.py +++ b/src/phenoman-src-1.0rc/pheno_man/pheno_man.py @@ -1253,7 +1253,7 @@ def codeR(self, dat): def R(self, rstr): ''' Run R command and parse the output ''' - tc = Popen(["R", '--slave', '--vanilla'], stdin = PIPE, stdout = PIPE, stderr = PIPE) + tc = Popen(["R", '--subordinate', '--vanilla'], stdin = PIPE, stdout = PIPE, stderr = PIPE) out, error = tc.communicate(rstr.encode(sys.getdefaultencoding())) if (tc.returncode): raise ValueError(" (exception captured from R) \n{0}".format(error.decode(sys.getdefaultencoding()))) diff --git a/src/phenoman-src-1.0rc/pheno_man/str4r.py b/src/phenoman-src-1.0rc/pheno_man/str4r.py index 48bf982..11d62e8 100644 --- a/src/phenoman-src-1.0rc/pheno_man/str4r.py +++ b/src/phenoman-src-1.0rc/pheno_man/str4r.py @@ -164,7 +164,7 @@ def runR(maer): warnings = None if not isinstance(maer, basestring): raise ValueError("Input script must be a string") - tc = Popen(["R", '--slave', '--vanilla'], stdin = PIPE, stdout = PIPE, stderr = PIPE) + tc = Popen(["R", '--subordinate', '--vanilla'], stdin = PIPE, stdout = PIPE, stderr = PIPE) out, error = tc.communicate(maer.encode(sys.getdefaultencoding())) if (tc.returncode): raise ValueError("**** R ERROR ****\n{}*****************\n".format(error.decode(sys.getdefaultencoding())))