preview of tbl_regression over tramp

Andreas Leha via ESS-help <[email protected]> Thu, 28 Jul 2022 09:57:33 +0200
Newsgroups gmane.emacs.ess.general
Message-ID <[email protected]>
Hi all,

how can I preview tables generated with gtsummary::tbl_regression() in
ESS over tramp?

I am working on Rmd files and these tables are generated correctly.
After compilation they appear in the compiled document just nicely.

But the setup of these tables is cumbersome, as I do not get a preview:

---------------------------------
library("gtsummary")

m1 <- glm(response ~ age + stage, trial, family = binomial)
tbl_regression(m1, exponentiate = TRUE)
## Couldn't get a file descriptor referring to the console
---------------------------------

When R is run locally the preview works as a browser window/tab is
opened with the preview.

So, my question is:  Does someone know how to get a preview of such a
table in ESS over tramp?  (Ideally using eww-file-open on the generated
file on the remote machine?)

Many thanks in advance,
Andreas

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help