>>>> Marc Schwartz <[EMAIL PROTECTED]> 10/13/05 06:07PM >>> >On Fri, 2005-10-14 at 00:39 +0200, Benedict P. Barszcz wrote: >> Dnia piatek, 14 pazdziernika 2005 00:13, Sundar Dorai-Raj napisal: >> >> > 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.
It is also inaccurate, after all you could do the following: > tmp <- paste(letters[ c(12,19)], collapse='') > system(tmp,show=T) here tmp is a string and works, but quoting it would break things. Greg Snow, Ph.D. Statistical Data Center, LDS Hospital Intermountain Health Care [EMAIL PROTECTED] (801) 408-8111 ______________________________________________ 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