My Rscript tool generates a strange R error on STDOUT about an invalid operation on a closure called 'args' ?


Did your code declare the args vector with something like args = commandArgs(trailingOnly=TRUE) before it tried to access args[1] ? See the plotter tool for a sample

Still have questions?
Gitter Chat Support
Galaxy Help Forum
Want to embed this snippet (FAQ) in your GTN Tutorial?
{% snippet  topics/dev/tutorials/tool-generators/faqs/error_closure_args.md %}