Command-line arguments: Difference between revisions

Content added Content deleted
(→‎{{header|R}}: the statement about "can't create executables in R" isn't true; you can use R like any interpreted scripting language.)
Line 860: Line 860:


=={{header|R}}==
=={{header|R}}==
Since you do not create executables using R, the task is not directly appropriate. It is however possible to determine the list of arguments supplied when the R session was invoked.
<lang R>commandArgs(TRUE)</lang>
<lang R>commandArgs(TRUE)</lang>