[R] Error when calling R from Python

Marcel Baumgartner m@rce| @end|ng |rom coeurd@rt|ch@ut@ch
Tue Jan 26 08:55:48 CET 2021


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]]



More information about the R-help mailing list