[ESS] preview of tbl_regression over tramp
Andreas Leha
@ndre@@@|eh@ @end|ng |rom med@un|-goett|ngen@de
Thu Jul 28 10:43:19 CEST 2022
Hi all,
well, I should have read the documentation...
as_tibble() works well enough for my purposes.
Sorry for the noise,
Andreas
Andreas Leha via ESS-help <ess-help using r-project.org> writes:
> 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
>
> ______________________________________________
> ESS-help using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
More information about the ESS-help
mailing list