• R/O
  • SSH

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-c誰得cocoaqtpythonrubywindowsphpgameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwitterdombtronvb.nettestarduinodirectxpreviewerゲームエンジン

Commit MetaInfo

Revisionf736cd3c570e182e4d67fd121935406b36a51735 (tree)
Zeit2021-09-16 19:00:37
AutorLorenzo Isella <lorenzo.isella@gmai...>
CommiterLorenzo Isella

Log Message

The code now explicitly tells me if it reads an Excel file or not.

Ändern Zusammenfassung

Diff

diff -r d253bdeb31b3 -r f736cd3c570e R-codes/prepare_tam_data.R
--- a/R-codes/prepare_tam_data.R Thu Sep 16 11:50:16 2021 +0200
+++ b/R-codes/prepare_tam_data.R Thu Sep 16 12:00:37 2021 +0200
@@ -11,17 +11,24 @@
1111
1212
1313
14-save_to_RDS <- 0
14+save_to_RDS <- 1
1515
1616 if (save_to_RDS == 1){
1717
18+ print("I am reading the Excel file")
19+
1820 df_ini <- read_excel("tam_latest.xlsx")
1921
22+ print("I finished reading the Excel file")
23+
2024 saveRDS(df_ini, "tam_raw.RDS")
25+
26+ print("I saved the input as an RDS file")
2127
2228 } else {
2329
24-
30+ print("I am NOT reading the Excel file")
31+
2532 df_ini <- readRDS("tam_raw.RDS")
2633
2734 }