argsParser | R Documentation |
This command parses ...DESCRITION TO DO !!!
argsParser(option, args, sep = " ", novalue_response = NULL)
option |
character strings containg options (or flag) whose values |
args |
String containing all the arguments of an R script |
sep |
separator character. Default is |
novalue_response |
value used in case the option is missing. Default is |
args <- "--value 6 --fruit apple"
option <- "--fruit"
value <- argsParser(option=option,args=args)
option2 <- "--jobs"
value2 <- argsParser(option=option2,args=args)
value22 <- argsParser(option=option2,args=args,novalue_response="./")
args_b <- "value=6 , fruit=apple"
option3 <- "value"
value <- argsParser(option=option3,args=args_b,sep=c(",","="))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.