Help for this page

Select Code to Download


  1. or download this
    # test.R
    # Parse and use command line arguments
    ...
    y <- c(x^2);                # work out square
    png(filename="image.png");  # create image file
    plot(x,y);                  # plot image
    
  2. or download this
    [1] "/usr/lib/R/bin/exec/R" 
    [2] "--slave" 
    [3] "--args"               
    [4] "100"