args <- commandArgs(trailingOnly = TRUE) # print fraction from argument list as.numeric(args[1])/as.numeric(args[2])