I have a rscript (file.r) in my desktop which contains a function.
I need to call this function from Windows command prompt and pass arguments to it, I have found this way but i don't understand how it's used, like what does it mean?
I already have the R's shell but i need to do it from Windows command prompt, not R's itself
args <- commandArgs(trailingOnly = TRUE)