From eabb115031627c227348d01a14a694bad2341c95 Mon Sep 17 00:00:00 2001
From: Maria Voigt <maria.voigt@idiv.de>
Date: Fri, 7 Apr 2017 17:54:15 +0200
Subject: [PATCH] saving output in .csv so it can be scanned

---
 src/prediction/abundance_prediction_bootstrap_per_boot.R | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/prediction/abundance_prediction_bootstrap_per_boot.R b/src/prediction/abundance_prediction_bootstrap_per_boot.R
index 718e801..c1a48aa 100644
--- a/src/prediction/abundance_prediction_bootstrap_per_boot.R
+++ b/src/prediction/abundance_prediction_bootstrap_per_boot.R
@@ -197,11 +197,11 @@ pred_per_boot <- as.data.frame(pred_per_boot)
 names(pred_per_boot) <- paste0("year_", c(1999:2015))
 
 
-saveRDS(pred_per_boot,
+write.csv(pred_per_boot,
         file = file.path(outdir,
         paste0("bootstrapped_pred_per_pixel_",
                                 nr_boot, "_",
-                                Sys.Date(), ".rds")))
+                                Sys.Date(), ".csv")), row.names = F)
 
 
 
-- 
GitLab