[chronojump] Fix debugParameters now appends to file



commit cc8a7b3ec3bdc4a9d05e0fdba1a2260fe95ccb82
Author: Xavier de Blas <xaviblas gmail com>
Date:   Wed Mar 9 01:20:07 2016 +0100

    Fix debugParameters now appends to file

 encoder/util.R |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/encoder/util.R b/encoder/util.R
index 7bc0bea..b18587d 100644
--- a/encoder/util.R
+++ b/encoder/util.R
@@ -1123,7 +1123,7 @@ debugParameters <- function (parameterList, currentFunction)
        if(is.null(DEBUG) || DEBUG == FALSE || is.null(DebugFileName) || DebugFileName == "")
                return()
 
-        write(paste("Parameters of the", currentFunction, "function are:\n"), DebugFileName, append=FALSE)
+        write(paste("Parameters of the", currentFunction, "function are:\n"), DebugFileName, append=TRUE)
         
         #based on http://stackoverflow.com/a/34996874
         for (i in 1:length(parameterList)) {


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