[chronojump] Prevent R to save the workspace in the execution folder



commit 3f8e2b86e704955486046473a37057da21435edf
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Thu Sep 3 15:17:34 2009 +0200

    Prevent R to save the workspace in the execution folder
    	Useful in Windows Vista where users do not have
    	write permissions in the execution fodler where
    	R saves the workspace in file '.RData' using
    	default '--save' option

 chronojump_server/bin/chronojumpServer.dll |  Bin 272896 -> 272896 bytes
 src/util.cs                                |    2 +-
 2 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/chronojump_server/bin/chronojumpServer.dll b/chronojump_server/bin/chronojumpServer.dll
index bcd24b1..0ecf759 100755
Binary files a/chronojump_server/bin/chronojumpServer.dll and b/chronojump_server/bin/chronojumpServer.dll differ
diff --git a/src/util.cs b/src/util.cs
index 9c0ff06..9825151 100644
--- a/src/util.cs
+++ b/src/util.cs
@@ -724,7 +724,7 @@ public class Util
 
 		pinfo = new ProcessStartInfo();
 		pinfo.FileName=rBin;
-		pinfo.Arguments ="CMD BATCH " + rScript +" " + outputFile;
+		pinfo.Arguments ="CMD BATCH --no-save " + rScript +" " + outputFile;
 		pinfo.CreateNoWindow = true;
 		pinfo.UseShellExecute = false;
 		



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]