diff --git a/src/sextante/r/RUtils.py b/src/sextante/r/RUtils.py index 52cabc873d4..9de6075d325 100644 --- a/src/sextante/r/RUtils.py +++ b/src/sextante/r/RUtils.py @@ -55,7 +55,7 @@ class RUtils: RUtils.getRScriptFilename(), RUtils.getConsoleOutputFilename()] else: os.chmod(RUtils.getRScriptFilename(), stat.S_IEXEC | stat.S_IREAD | stat.S_IWRITE) - command = ["R", "CMD", "BATCH", "--vanilla", RUtils.getRScriptFilename(), RUtils.getConsoleOutputFilename()] + command = "R CMD BATCH --vanilla " + RUtils.getRScriptFilename() + " "+ RUtils.getConsoleOutputFilename() proc = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, stdin=subprocess.PIPE,stderr=subprocess.STDOUT, universal_newlines=True)