On 29 July 2024 at 13:02, Ivan Krylov wrote:
| On Sun, 28 Jul 2024 15:27:33 -0500
| Dirk Eddelbuettel wrote:
|
| > If we cannot (or do not want to) modify the given main.R, I would
| > suggest something along the lines of
| >
| > Rscript -e 'pdf(myfilenamevar); source("main.R"); dev.off()' |
On Sun, 28 Jul 2024 15:27:33 -0500
Dirk Eddelbuettel wrote:
> If we cannot (or do not want to) modify the given main.R, I would
> suggest something along the lines of
>
> Rscript -e 'pdf(myfilenamevar); source("main.R"); dev.off()' | tee
> 2024-07-28.log
Perhaps even options(device = \(file =