demo/py_tests.R

# max.R
# Fetch command line arguments
myArgs <- commandArgs(trailingOnly = TRUE)

# Convert to numerics
nums = as.numeric(myArgs)

# cat will write the result to the stdout stream
print("Result:")
cat(max(nums))
itpir/SimTests_DEPRECATED documentation built on May 18, 2019, 7:10 a.m.