Skip to content
Permalink
Browse files

fixed #6029

git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@301 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
  • Loading branch information
volayaf@gmail.com
volayaf@gmail.com committed Jul 15, 2012
1 parent a0d0145 commit 6dfff319146e511e4733b23611ab97f48e272249
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/sextante/r/RUtils.py
@@ -55,7 +55,7 @@ def executeRAlgorithm(alg):
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)

0 comments on commit 6dfff31

Please sign in to comment.
You can’t perform that action at this time.