Help for this page

Select Code to Download


  1. or download this
    ##In a file called test_args.R
    args <- commandArgs()
    
    print (args)
    
  2. or download this
    cat test_args.R | R --slave --args all your base
    
  3. or download this
    [1] "usr/lib64/R/bin/exec/R" "--slave"
    [3] "--args"                 "all"
    [5] "your"                   "base"