[ESS] preview of tbl_regression over tramp

Andreas Leha @ndre@@@|eh@ @end|ng |rom med@un|-goett|ngen@de
Thu Jul 28 09:57:33 CEST 2022


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



More information about the ESS-help mailing list