Re: [R] shell scripts in R

From: Don MacQueen <macq_at_llnl.gov>
Date: Sat 15 Oct 2005 - 00:42:08 EST

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@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

______________________________________________
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 Sat Oct 15 00:50:57 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 18:54:05 EST