[R] shell scripts in R

Marc Schwartz MSchwartz at mn.rr.com
Fri Oct 14 02:07:07 CEST 2005


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




More information about the R-help mailing list