[R] get the command line

Steve Lianoglou mailinglist.honeypot at gmail.com
Mon Sep 7 05:50:05 CEST 2009


Hi,

On Sun, Sep 6, 2009 at 11:25 PM, Peng Yu<pengyu.ut at gmail.com> wrote:
> Hi,
>
> commandArgs gives me the arguments. I am wondering what command can
> give the whole command line.

What does "the whole command line" mean? Are you looking for the
command args in one string?

paste(commandArgs(), collapse=" ")

Can you give an example of what you're trying to get?

-steve

-- 
Steve Lianoglou
Graduate Student: Computational Systems Biology
 | Memorial Sloan-Kettering Cancer Center
 | Weill Medical College of Cornell University
Contact Info: http://cbio.mskcc.org/~lianos/contact




More information about the R-help mailing list