I have a ".R" file written many functions into that. My requirement what is,
i need to create a batch file for this.
No idea, how to create it. Tried it many other ways, but no result !.
Could anyone please help me out ?
"C:\Program Files\R\R-2.15.1\bin\x64\R.exe" CMD BATCH "C:\Users\Frank\Documents\R\Projects\Current_Yield\Divs.txt" "C:\Users\Frank\Documents\R\Projects\Current_Yield\Divs.out"
Divs.txt contains my R code and the output goes to Divs.out. I always check Divs.out first.
If you want to write objects to divs.out, I seem to need to use the print command, not just have the object name:
Let me know if you have any questions.