I have r code file and i want to automate (it has ti run for every 12 hrs) ,
but thing is code has to return the output and it has to save in particular directory.
Can any one help?
I have the .Rmd file and it needs to be knit for every 12 hours also file name should include Sys.Date()-1.
below code i used and getting error :
rmarkdown::render("/home/saisaran/Project-2/Montly report.Rmd", output_file=sprintf('./DailyReports/LaunchDaily_%s.html', format(Sys.Date(), format = "%m-%d-%y")))
Error: path for html_dependency not found: