I am writing a code in R and I want to input values through the command line. I am using get opt and I intend to read the values as such:
ScriptName -n File1 File2 -w 2...
I need an option which can read more than one value, in this case more than one file name, but I discovered that getopt doesn't allow this.
Any idea or any other package that will allow this?