Message-ID: <3cf33078e38cd82eaa62af315c5c6795@mail.infomaniak.com>
Date: 2021-01-26T07:55:48Z
From: Marcel Baumgartner
Subject: Error when calling R from Python
Dear all,
my colleague posted our issue on stackoverflow:
Calling R script from Python does not save log file in version 4 -
Stack Overflow
[https://stackoverflow.com/questions/65887485/calling-r-script-from-python-does-not-save-log-file-in-version-4]
It is about this kind of call to R:
R.exe -f code.R --args "~/file.txt" 1> "~/log.txt" 2>&1".
The issue is that the log.txt file is not created when running R
4.x.x. The same code works perfectly fine with R 3.6.x.
Any idea what's going wrong as of version 4? Regards Marcel?
[[alternative HTML version deleted]]