Re: [R] Passing strings with spaces to Python using system2 splits string at whitespace

2015-06-04 Thread John McKown
On Thu, Jun 4, 2015 at 8:47 AM, Wall, Wade A ERDC-RDE-CERL-IL < wade.a.w...@usace.army.mil> wrote: > Hi all, > > I am trying to pass arguments to a python script using R, but am running > into a problem with the string being split on the white spaces. > Investigation on the python end suggests tha

Re: [R] Passing strings with spaces to Python using system2 splits string at whitespace

2015-06-04 Thread Marc Schwartz
On Jun 4, 2015, at 8:47 AM, Wall, Wade A ERDC-RDE-CERL-IL wrote: > > Hi all, > > I am trying to pass arguments to a python script using R, but am running into > a problem with the string being split on the white spaces. Investigation on > the python end suggests that it is happening upstream

[R] Passing strings with spaces to Python using system2 splits string at whitespace

2015-06-04 Thread Wall, Wade A ERDC-RDE-CERL-IL
Hi all, I am trying to pass arguments to a python script using R, but am running into a problem with the string being split on the white spaces. Investigation on the python end suggests that it is happening upstream from python, because other shells such as bash have generated similar errors.