This is my (windows) command line argument for running my script.
C:\PathToR\Rscript.exe Rfile.r input output >info.txt 2>&1
I am sending the input and output file names as arguments and then capturing errors into a text file.
How would I do this from within another R script?
Thanks.