Re: [R] Pipe /shell - R does not wait

2010-02-01 Thread Duncan Murdoch
robbert blonk wrote: Sorry, forgot to included the information. Working in Windows (although a try on linux gave the same problems) R 2.10.0 Do you suggest to update a newer version of R? I don't think there were any changes to the system() code between 2.10.0 and 2.10.1, but there are d

Re: [R] Pipe /shell - R does not wait

2010-02-01 Thread robbert blonk
Sorry, forgot to included the information. Working in Windows (although a try on linux gave the same problems) R 2.10.0 Do you suggest to update a newer version of R? regards, Robbert -- View this message in context: http://n4.nabble.com/Pipe-shell-R-does-not-wait-tp1458692p1458727.html Sent

Re: [R] Pipe /shell - R does not wait

2010-02-01 Thread Duncan Murdoch
robbert blonk wrote: Dear All, Within a large script, I try to invoke a second program (called e.g. XXX) from R using "shell" or "pipe". e.g.: readLines(pipe("XXX")) or: shell("XXX",intern=TRUE, wait = TRUE) After running the program, the script reads a file with solutions

[R] Pipe /shell - R does not wait

2010-02-01 Thread robbert blonk
Dear All, Within a large script, I try to invoke a second program (called e.g. XXX) from R using "shell" or "pipe". e.g.: > readLines(pipe("XXX")) or: > shell("XXX",intern=TRUE, wait = TRUE) After running the program, the script reads a file with solutions produced by the second program ("XX