R: Difference between revisions

Jump to navigation Jump to search
169 bytes added ,  2 years ago
no edit summary
No edit summary
No edit summary
Line 154: Line 154:


== Passing arguments to R scripts == <!--T:84-->
== Passing arguments to R scripts == <!--T:84-->
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 to specify the names for input or output files, or maybe numerical parameters.
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
filename = "input.csv"
iterations = 5
}}


<!--T:85-->
<!--T:85-->
rsnt_translations
57,772

edits

Navigation menu