Re: [R] shell scripts in R

From: Marc Schwartz <MSchwartz_at_mn.rr.com>
Date: Fri 14 Oct 2005 - 10:07:07 EST

On Fri, 2005-10-14 at 00:39 +0200, Benedict P. Barszcz wrote:
> Dnia piątek, 14 października 2005 00:13, Sundar Dorai-Raj napisał:
>
> > Don't you mean system("ls")? See ?system.
> >
> > Arguments:
> >
> > command: the system command to be invoked, as a string.
>
> This is the kind of obstacles a newbie has to overcome. Whoeve is writing the
> documentation for R, please do not attempt to save on bytes. Life would be so
> much more pleasureable.... if only it would say "as a quoted string". Jee.

The phrase "quoted string" in my mind is redundant.

If you had taken the time to review the 3 examples provided on the same page, you would have seen that all three show the use of quotes around the command and indeed two of the three use the 'ls' command specifically.

Marc Schwartz



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 Received on Fri Oct 14 10:13:25 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 18:51:52 EST