rsnt_translations
56,420
edits
No edit summary |
No edit summary |
||
Line 156: | Line 156: | ||
Sometimes it can be useful to pass parameters as arguments to R scripts, to avoid having to either change the R script for every job or having to manage multiple copies of otherwise identical scripts. This can be useful for specifying the names for input- or output files, as well as specifying numerical parameters. For example, instead of specifying the name of an input file and/or a numerical parameter like this | Sometimes it can be useful to pass parameters as arguments to R scripts, to avoid having to either change the R script for every job or having to manage multiple copies of otherwise identical scripts. This can be useful for specifying the names for input- or output files, as well as specifying numerical parameters. For example, instead of specifying the name of an input file and/or a numerical parameter like this | ||
{{Command | {{Command | ||
filename = "input.csv" | |filename = "input.csv" | ||
iterations = 5 | |iterations = 5 | ||
}} | }} | ||