Re: [R-pkg-devel] R CMD BATCH plot output

2024-07-29 Thread Dirk Eddelbuettel
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()' |

Re: [R-pkg-devel] R CMD BATCH plot output

2024-07-29 Thread Ivan Krylov via R-package-devel
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 =