Open jpn5089 opened 7 years ago
This is a good request and I actually have implemented a fix for it, but it's part of a few other enhancements I'm testing so hopefully it will be available in the next few days. You are correct that right now the index.html file, etc. are not written until the object is printed, but there's no reason for them not to be created beforehand.
Thanks for the feedback. I will keep an eye out for that update
In one R script I created multiple sets of charts using facet_trelliscope all named differently to keep them separate. When I source the script in R studio, everything works fine with a web browser opening up with my different sets of graphs, all saved to the folder I specify.
When I try and run the same R script with the Windows Task Scheduler, it runs with no error, but doesn't create a folder with "app files", "lib", or the index HTML file.
This leads to my question: what I'm wondering is, does the fact that a web browser is prompted to open after each call of facet_trelliscope, is that causing an issue when using Windows Task Scheduler. You may not have a direct answer for that, but regarding the facet_trelliscope function, is there a parameter like open_browser or something that can be set to FALSE, so a browser doesn't open and rather everything is just written to the folder at the path you specify?
Thanks in advance