Created
October 7, 2015 13:27
-
-
Save bond-/b627af6d215905de711a to your computer and use it in GitHub Desktop.
Accepting command line arguments in R script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A sample R script that accpets command line argumenst | |
args <- commandArgs(trailingOnly = TRUE) | |
print(args) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment