Re: [Rd] Fortran programs not writing stdout on windows

2018-01-26 Thread Tomas Kalibera
For reference, this has been fixed in R-devel, 74168. The problem only exists on Windows with RGui. As a workaround for older versions of R, one can unset environment variables "GFORTRAN_STDOUT_UNIT" and "GFORTRAN_STDERR_UNIT" for the duration of system/system2 calls that invoke external Fortr

[Rd] Fortran programs not writing stdout on windows

2017-06-20 Thread Jeroen Ooms
A user has reported an issue that appears when a fortran executable is called via R on Windows. I am unsure if this expected behavior or a bug in Fortran or in how R calls Windows executables. The problem is that when the fortran program is called from R, stdout gets written to a file "fort.6" ins