[R] shell scripts in R
Don MacQueen
macq at llnl.gov
Fri Oct 14 16:42:08 CEST 2005
But,
> foo <- 'ls'
> system(foo)
is valid.
Is foo a "string" or a "quoted string"?
Without a doubt, it is the former. But I don't see any quote marks in
system(foo)
-Don
At 12:39 AM +0200 10/14/05, 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.
>
>
>--
>Benedict
>
>Cyfrowy klucz publiczny / Digital public key
>http://agrypa1.atspace.com/klucze/kb2qzv_wp.pl-public.asc
>
>______________________________________________
>R-help at 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
--
--------------------------------------
Don MacQueen
Environmental Protection Department
Lawrence Livermore National Laboratory
Livermore, CA, USA
More information about the R-help
mailing list