[R] multiline system call

Nicolas Mazziotta nicolas.mazziotta at swing.be
Fri Dec 22 20:36:03 CET 2006


Dear Sir,

Le vendredi 22 décembre 2006 20:05, vous avez écrit :
> system("sh",intern=T,input=c("echo x","echo y"))

Thanks for the advice, but I do not find doc about the input arg for the 
system function. Besides,

$> system("sh",intern=T,input=c("echo x","echo y"))
Erreur dans system("sh", intern = T, input = c("echo x", "echo y")) :
        unused argument(s) (input = c("echo x", "echo y"))

Is R version 2.4.0 (2006-10-03) too old?

Best regards,


-- 
Nicolas Mazziotta

The contents of this e-mail, including any attachments, are ...{{dropped}}



More information about the R-help mailing list