Skip to content
Prev 387027 / 398502 Next

Error when calling (R 4.0.x on Windows) from Python

I believe the problem is from svn 77925 in gnuwin/front-ends/rcmdfn.c,
which was committed a few days after 3.6.3 was released.  Rterm used
to put double quotes around a command line argument only if it
contained a space, now it double quotes all arguments.  It sees shell
constructs like "1>" and the following file name as arguments and
double quoting them hides them from the shell, leading to this
problem.  I think we may have to rely on the user supplying quotes as
needed instead of blindly adding them.

-Bill

On Wed, Jan 27, 2021 at 12:28 PM Duncan Murdoch
<murdoch.duncan at gmail.com> wrote: