I am trying to pass c("a","b","c") as an argument to a script as command line argument.
If i run the script in R-Studio with stated argument, it works fine.
But if i run script through my application then it fails.
I have already tried as you said above.. But problem is,
I am calling rscript from my C# code with argument as below
args<-commandArgs(TRUE)
a <- args[1]
for args[1] expected c("a","b") but when i debugged my code then found argument passed to my script like "c(a,b)" which produces different output.