On Sat, 23 Dec 2006, Nicolas Mazziotta wrote:

Le vendredi 22 décembre 2006 23:31, Charles C. Berry a écrit :
Perhaps a workaround is to pipe the input into sendmail (I recall sendmail
accepts input from sdtin) from 'echo'

This works fine this way. Thanks a lot.

(but note that my 2.4.0 linux binary does not accept the "input=xyz" as an
argument of the system() function.)

Nor should it, but you failed to tell us what your OS was, and it matters in this query (as in many others) which is why the posting guide asked you to supply such information.

system() differs fundamentally by OS: it uses a shell on Unix-alikes but not on Windows.

--
Brian D. Ripley,                  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595
______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to